UpdateApiKeyRequest
PATCH body for `PATCH /workspaces/{workspaceId}/api-keys/{keyId}`. Every field is optional and independent — send only what should change. A body with none of them is a 400.
Properties
| Name | Type | Description |
|---|---|---|
| label | string | New label. Trimmed before storage. |
| scopes | array | Replaces the key's scope list wholesale. `[]` removes all restrictions. Each entry is `*` (full access), ` |
| expiresAt | stringnull | Three-valued. Omit to leave the current expiry alone, send `null` to clear it (never expires), or send an ISO-8601 timestamp in the future to set it. A past or unparseable value is a 400. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/nopaque-co-uk/json-schema/nopaque-co-uk-update-api-key-request-schema.json",
"title": "UpdateApiKeyRequest",
"description": "PATCH body for `PATCH /workspaces/{workspaceId}/api-keys/{keyId}`. Every field is\noptional and independent — send only what should change. A body with none of them\nis a 400.\n",
"x-generated": "2026-11-29",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/nopaque-co-uk-api-keys-api-openapi.yml#/components/schemas/UpdateApiKeyRequest",
"type": "object",
"properties": {
"label": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"description": "New label. Trimmed before storage."
},
"scopes": {
"type": "array",
"description": "Replaces the key's scope list wholesale. `[]` removes all restrictions.\nEach entry is `*` (full access), `<domain>:*`, `<domain>:read` or\n`<domain>:write`. Duplicates are collapsed. An unrecognised scope is refused at\nwrite time rather than stored — an unknown scope matches no route, so accepting\na typo would mint a key that silently reaches nothing.\n",
"items": {
"type": "string",
"enum": [
"*",
"mapping:*",
"mapping:read",
"mapping:write",
"testing:*",
"testing:read",
"testing:write",
"digital:*",
"digital:read",
"digital:write",
"data:*",
"data:read",
"data:write",
"audio:*",
"audio:read",
"audio:write",
"scheduling:*",
"scheduling:read",
"scheduling:write",
"billing:*",
"billing:read",
"billing:write"
]
}
},
"expiresAt": {
"type": [
"string",
"null"
],
"format": "date-time",
"description": "Three-valued. Omit to leave the current expiry alone, send `null` to clear it\n(never expires), or send an ISO-8601 timestamp in the future to set it. A past\nor unparseable value is a 400.\n"
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/json-schemas/nopaque-co-uk-update-api-key-request"
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.