Create Command

POST

Creates a command.

Request

This endpoint expects an object.
actionobjectRequired
namestringRequired

Name of the command.

namespacestringRequired

Namespace of the command.

statusenumRequired
Allowed values: disableddraftenabled

Status of the command.

descriptionstringOptional

Description of the command.

display_namestringOptional

Display name of the command.

shared_withlist of objectsOptional

The list of users, groups and audiences with whom the command is shared.

sourcestringOptional

ID of the source which created this command.

surfaceslist of objectsOptional

Surfaces where this command can be invoked.

usage_hintstringOptional

A user friendly description of the parameters which can be passed to the command.

Response

Success.

commandobject
Built with