approvals

Replace approval notification settings

Replace the per-agent member notification settings for approval requests in an environment.

Required permission: approvals.configure.

put/v1/projects/{project_id}/approvals/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 settings to replace.

Request body

ApprovalNotificationConfigUpdate[] required

Settings that replace the environment's current ones. An empty list removes all.

agent_name, string required

Agent whose approval requests trigger the notification; * for all agents.

user_id, string nullable

Project member to notify. null applies to all members.

enabled, boolean

Whether the member receives these notifications.

Response

Successful Response

ApprovalNotificationConfigResponse[] required
id, string uuid required
environment_id, string uuid required

Environment the setting applies to.

agent_name, string required

Agent whose approval requests trigger the notification; * for all agents.

user_id, string nullable

Project member to notify. null applies to all members.

enabled, boolean required

Whether the member receives these notifications.

Changes

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