approvals

Replace approval routing

Replace an environment's member notification settings and approval channel routes in one change.

Omit channel_routes or send null to keep the current channel routes. Sending channel_routes requires an Enterprise plan.

Required permission: approvals.configure. Passing channel_routes also requires channels.manage.

put/v1/projects/{project_id}/approvals/routing-config

Request

  • Base URL
    https://api.connic.co
  • Auth
    HTTP 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 approval routing to replace.

Request body

ApprovalRoutingConfigUpdate required

Replaces member approval notifications and, optionally, channel routes for an environment in one request.

configs, ApprovalNotificationConfigUpdate[]

Member notification settings. Replaces all existing settings for the environment.

channel_routes, ApprovalChannelRouteUpdate[] nullable

Channel routes. Replaces all existing routes for the environment; null keeps them.

Response

Successful Response

PublicApprovalRoutingResponse required
configs, ApprovalNotificationConfigResponse[] required

Member notification settings for approval requests in the environment.

channel_routes, ApprovalChannelRouteResponse[] required

Channel routes that deliver approval requests in the environment.

Changes

No recorded changes to this operation across all 17 revisions of this API.