Update status
Pause or resume a deployment.
| Action | Effect |
|---|---|
| `pause` | Stop accepting inbound calls |
| `resume` | Start accepting inbound calls again |
Path parameters
org_id
workspace_id
deployment_id
Request
This endpoint expects an object.
action
Action to perform: pause or resume
Response
Successful Response
deployment_id
Unique identifier for the deployment
app_id
ID of the agent
app_version
Version of the agent
connection_configs
Telephony connection configurations
channel_direction
Direction of calls (inbound, outbound, or both)
created_by
User who created this deployment
created_at
Timestamp when created (ISO 8601)
updated_at
Timestamp when last updated (ISO 8601)
name
Name of the deployment
status
Current status of the deployment
description
Optional description
inbound_config
Inbound call schedule configuration
updated_by
User who last updated this deployment
Errors
422
Unprocessable Entity Error