---
title: "Changes to Save OAuth 2.0 client-credentials for an agent"
method: PUT
path: "/api/registry/agents/{encodedUrl}/oauth-client-credentials"
---

# Changes to Save OAuth 2.0 client-credentials for an agent

`PUT /api/registry/agents/{encodedUrl}/oauth-client-credentials`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 71 revisions.

- **2026-08-08** `cf570ee22860`: 1 info
- **2026-08-03** `67443123c188`: 3 warning, 1 info

## Changes

- **2026-08-08** `cf570ee22860`: 1 info
  - added the new optional request property `organization_id`
- **2026-08-03** `67443123c188`: 3 warning, 1 info
  - added the new `aggregate_too_long` enum value to the `code` response property for the response status `400`
  - added the new `array_too_few` enum value to the `code` response property for the response status `400`
  - added the new `array_too_many` enum value to the `code` response property for the response status `400`
  - request property `resource` list-of-types was widened by adding types `array` to media type `application/json`

---

[Operation](https://skmtc.dev/adcontextprotocol/apis/agenticadvertising-org-registry-api/docs/api/registry/agents/:encodedUrl/oauth-client-credentials/put.md) - [API](https://skmtc.dev/adcontextprotocol/apis/agenticadvertising-org-registry-api.md) - [Page](https://skmtc.dev/adcontextprotocol/apis/agenticadvertising-org-registry-api/changes/api/registry/agents/:encodedUrl/oauth-client-credentials/put)
