Skip to main content
PUT
Turn Content Agent on or off

Authorizations

Authorization
string
header
required

Headers

X-Workspace-Id
string<uuid>
required

UUID of the workspace to act in. Take it from GET /me (workspaces[].id). A key scoped to specific workspaces is rejected with 403 WORKSPACE_NOT_ALLOWED for any other id; a missing header is 400 WORKSPACE_REQUIRED.

Idempotency-Key
string<uuid>

A UUID that identifies this command. Retrying with the same key replays the original result instead of repeating the work. Without it, a retry is a new command.

Body

application/json
enabled
boolean
required
expectedVersion
integer
required
Required range: x >= 0

Response

New state

data
object
required