Update an API key
Rename your personal API key or an organization key you administer, or narrow its scopes.
Authorization
bearerApiKey Create a scoped API key in the Adlass settings.
In: header
Path Parameters
Resource identifier: key_id.
uuidHeader Parameters
Optional correlation identifier.
length <= 128A unique key for this intended write; the body field idempotency_key is accepted instead. One of the two is required. Reuse it only for an identical retry.
1 <= length <= 200Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X PATCH "https://example.com/api-keys/123e4567-e89b-42d3-a456-426614174000" \ -H "Idempotency-Key: 123e4567-e89b-42d3-a456-426614174000" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "123e4567-e89b-42d3-a456-426614174000", "kind": "personal", "created_by": { "id": "123e4567-e89b-42d3-a456-426614174000", "email": "ada@example.com", "name": "Customer documents", "image_url": "example" }, "label": "Customer documents", "prefix": "adl_live_a1", "scopes": [], "spaces": [ { "id": "123e4567-e89b-42d3-a456-426614174000", "name": "Customer documents", "role": "reader" } ], "expires_at": "2026-09-04T12:00:00Z", "last_used_at": "2026-09-04T12:00:00Z", "revoked_at": "2026-09-04T12:00:00Z", "grace_until": "2026-09-04T12:00:00Z", "created_at": "2026-09-04T12:00:00Z", "rate_limit_per_minute": 0, "rotated_from": "123e4567-e89b-42d3-a456-426614174000", "status": "active"}