---
title: "Upsert ID token claims configuration"
method: PUT
path: "/api/configs/id-token"
tags: ["Configs"]
---

# Upsert ID token claims configuration

`PUT /api/configs/id-token`

Create or update the ID token extended claims configuration for the tenant. This controls which extended claims are included in ID tokens when the corresponding scopes are requested.

## Request body

- object
  - `enabledExtendedClaims` string[] — An array of extended claims to include in ID tokens. Possible values: `custom_data`, `identities`, `sso_identities`, `roles`, `organizations`, `organization_data`, `organization_roles`.

## Response `200`

The updated ID token claims configuration.

- object
  - `enabledExtendedClaims` string[]

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — The tenant's subscription plan does not support this feature.

---

[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/a163dc77d842/schema)
