Execute one command
Executes a command from the published DomainConfig. Use the generated app OpenAPI document for the concrete request schema, required business fields, and response event types.
Authentication
AuthorizationBearer
Tenant/app API key or OAuth/JWT bearer token.
Path parameters
commandType
Command name from DomainConfig.commands.
Headers
X-CES-Workspace-ID
Optional Workspace runtime selector header. If supplied with workspaceId, both values must match.
Query parameters
workspaceId
Optional Workspace runtime selector for preview or validation calls. If supplied with X-CES-Workspace-ID, both values must match.
Request
This endpoint expects a map from strings to any.
Response
Command executed on an existing scope
success
command
eventsEmitted
events
scopeKey
warnings
policyErrors
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error