Update Command

POST

Updates a command.

Request

This endpoint expects an object.
actionobjectRequired
idstringRequiredformat: "id"

The ID of the command to update.

statusenumRequired
Allowed values: disableddraftenabled

Status of the command.

descriptionstringOptionalformat: "text"

Description of the command.

display_namestringOptionalformat: "text"

Display name of the command.

namestringOptionalformat: "text"

Name of the command.

namespacestringOptionalformat: "text"

Namespace of the command.

shared_withlist of objectsOptional

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

sourcestringOptionalformat: "id"

ID of the source which created this command.

surfaceslist of objectsOptional

Surfaces where this command can be invoked.

usage_hintstringOptionalformat: "text"

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

Response

Success.

commandobject
Built with