---
title: "Update CIMD config"
method: PATCH
path: "/api/configs/cimd"
tags: ["Configs"]
---

# Update CIMD config

`PATCH /api/configs/cimd`

Update the tenant-level OAuth Client ID Metadata Document (CIMD) switch. Enabling requires the OIDC provider SSRF protection to be active.

## Request body

- object
  - `enabled` boolean

## Response `200`

The updated CIMD configuration.

- object
  - `enabled` boolean, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `422` — The OIDC provider SSRF protection is disabled, so CIMD cannot be enabled.

---

[API](https://skmtc.net/logto/apis/logto-api-references.md) · [All operations](https://skmtc.net/logto/apis/logto-api-references/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/logto/logto-api-references/revisions/0287c6a59eba/schema)
