Update Command

POST

Updates a command.

Request

This endpoint expects an object.
idstringRequired

The ID of the command to update.

actionobjectOptional
descriptionstringOptional

Description of the command.

display_namestringOptional

Display name of the command.

namestringOptional

Name of the command.

namespacestringOptional

Namespace 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.

statusenumOptional
Allowed values: disableddraftenabled

Status of the 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