channels
Replace approval channel routes
Replace the routes that deliver an environment's approval requests to channels.
Required permission: channels.manage.
put/v1/projects/{project_id}/approvals/channel-routes
Request
- Base URLhttps://api.connic.co
- AuthHTTP bearer
Path parameters
project_id, string uuid required
ID of the project the API key belongs to.
Query parameters
environment_id, string uuid required
Environment whose routes to replace.
Request body
Approval Channel Route Update[] required
Routes that replace the environment's current routes. An empty list removes all routes.
channel_id, string uuid required
Channel in the project that receives the approval requests.
agent_name, string
Agent whose approval requests are routed; * for all agents.
enabled, boolean
Whether requests are delivered through this route.
Response
Successful Response
Approval Channel Route Response[] required
id, string uuid required
environment_id, string uuid required
Environment whose approval requests are routed.
channel_id, string uuid required
Channel that receives the approval requests.
agent_name, string required
Agent whose approval requests are routed; * for all agents.
enabled, boolean required
Whether requests are delivered through this route.
Changes
No recorded changes to this operation across all 17 revisions of this API.