---
title: "Update AS token exchange settings"
method: PATCH
path: "/tenants/{tenantId}/oauth2/as/instances/{instanceId}/token-exchange"
tags: ["AsTokenExchangeSettings"]
---

# Update AS token exchange settings

`PATCH /tenants/{tenantId}/oauth2/as/instances/{instanceId}/token-exchange`

Applies RFC 7386 merge-patch semantics to token exchange settings. Absent fields stay unchanged. Explicit null clears the tenant override for that field.

## Parameters

- `./platform-config-components.yml#/components/parameters/TenantId` — unresolved $ref
- `./platform-config-components.yml#/components/parameters/InstanceId` — unresolved $ref

## Request body

- object

## Response `200`

Effective token exchange settings after patch.

- AsTokenExchangeConfigView — unresolved $ref

## Other responses

- `400` — unresolved $ref

## Changes

- **2026-07-02** `0ffdb6a88f58` — 1 info
  - api operation id `updateVdxAsTokenExchangeSettings` removed and replaced with `updateAsTokenExchangeSettings`
- **2026-06-28** `187cc1da59c7` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/sphereon-opensource/apis/platform-config-api/changes/tenants/:tenantId/oauth2/as/instances/:instanceId/token-exchange/patch.md)

---

[API](https://skmtc.dev/sphereon-opensource/apis/platform-config-api.md) · [All operations](https://skmtc.dev/sphereon-opensource/apis/platform-config-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/sphereon-opensource/platform-config-api/revisions/f0066c61ebdb/schema)
