---
title: "Update project consent settings"
method: PATCH
path: "/v1/projects/{projectId}/consent"
tags: ["Projects"]
---

# Update project consent settings

`PATCH /v1/projects/{projectId}/consent`

Partially updates consent settings on the instance linked to this project.

## Path parameters

- `projectId` string, required

## Request body

- UpdateProjectConsentRequest
  - `trustedOrigins` string[] — Origins allowed to call the linked consent instance. Supports * and wildcard subdomains like *.example.com.
  - `branding` 'inth' | 'c15t' | 'none' — Branding shown in the consent banner. Removing branding with 'none' requires an eligible paid plan.

## Response `200`

Updated linked consent instance settings.

- object
  - `success` true, required
  - `data` ConsentInstance, required
    - `instanceId` string, required
    - `instanceSlug` string, required
    - `instanceName` string, required
    - `trustedOrigins` string[], required
    - `branding` 'inth' | 'c15t' | 'none', required — Branding shown in the consent banner. Removing branding with 'none' requires an eligible paid plan.
    - `backendURL` string, uri, nullable, required
    - `dashboardURL` string, uri, required
    - `backendVersion` string, required

## Other responses

- `400` — The request payload or parameters are invalid.
- `401` — Authentication is missing, invalid, or expired.
- `403` — The authenticated principal cannot access the resource.
- `404` — The requested resource was not found.
- `409` — The request conflicts with the current resource state.
- `413` — The request body exceeds the 1 MB limit.
- `429` — The rate limit was exceeded. API key limits are set by plan tier (Starter 600/min, Pro 1500/min, Enterprise 3000/min). Check the Retry-After header before retrying.
- `500` — An unexpected internal error occurred.

---

[API](https://skmtc.dev/inth/apis/inth-api.md) · [All operations](https://skmtc.dev/inth/apis/inth-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/inth/inth-api/revisions/97262bd49ddd/schema)
