---
title: "Replace approval notification settings"
method: PUT
path: "/v1/projects/{project_id}/approvals/config"
tags: ["approvals"]
---

# Replace approval notification settings

`PUT /v1/projects/{project_id}/approvals/config`

## Request

- Base URL: `https://api.connic.co`
- URL: `https://api.connic.co/v1/projects/{project_id}/approvals/config`
- Auth: HTTP bearer

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

Required permission: `approvals.configure`.

## Path parameters

- `project_id` string, uuid, required

## Query parameters

- `environment_id` string, uuid, required: Environment whose settings to replace.

## Request body

- ApprovalNotificationConfigUpdate[]: 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 `200`

Successful Response

- ApprovalNotificationConfigResponse[]
  - `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.

## Other responses

- `401`: Missing or invalid API key.
- `403`: The API key lacks the required permission or access to the environment.
- `422`: Validation Error
- `429`: Rate limit exceeded.

---

[API](https://skmtc.dev/connic/apis/connic-api.md) · [All operations](https://skmtc.dev/connic/apis/connic-api/llms.txt) · [OpenAPI document](https://skmtc.dev/connic/apis/connic-api/revisions/482932da5fbe?raw)
