Update a remote-command
PUT /remote-commands/{id}
PUT
/remote-commands/{id}
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
DocumentId
Request Body required
Section titled “Request Body required ”object
data
object
name
required
string
command_template
required
Shell command template with optional {arg} placeholders, e.g. ‘systemctl status {service}’
string
description
string
allowed
Whitelist flag — only allowed=true commands may be dispatched. Set to false to disable without deleting.
boolean
timeout_seconds
Maximum execution time on the agent in seconds.
integer
Responses
Section titled “ Responses ”Updated
object
data
object
name
required
string
command_template
required
Shell command template with optional {arg} placeholders, e.g. ‘systemctl status {service}’
string
description
string
allowed
Whitelist flag — only allowed=true commands may be dispatched. Set to false to disable without deleting.
boolean
timeout_seconds
Maximum execution time on the agent in seconds.
integer
organisation
documentId
string
id
integer
createdAt
string format: date-time
updatedAt
string format: date-time
publishedAt
string format: date-time
Validation error
Missing or invalid authentication
Not authorized (tenant scope or capability)
Not found