curl --request PATCH \
--url https://apix.spotzee.com/api/client/organizations/api-keys/{keyId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"description": "<string>",
"role": "member"
}
'{
"id": 5,
"organization_id": 123,
"name": "CI bot — provisioning",
"role": "member",
"value": "ok_01HXY7Z9K8M5J2N4P6Q8R0S1T2",
"created_at": "<string>",
"updated_at": "<string>",
"description": "<string>"
}Updates the key’s metadata or role. The new role cannot exceed the caller’s own role.
curl --request PATCH \
--url https://apix.spotzee.com/api/client/organizations/api-keys/{keyId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"description": "<string>",
"role": "member"
}
'{
"id": 5,
"organization_id": 123,
"name": "CI bot — provisioning",
"role": "member",
"value": "ok_01HXY7Z9K8M5J2N4P6Q8R0S1T2",
"created_at": "<string>",
"updated_at": "<string>",
"description": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://docs.spotzee.com/llms.txt
Use this file to discover all available pages before exploring further.
Organisation-scoped admin API key (ok_…). Pass in the Authorization: Bearer <key> header. Used to manage projects and other organisation-level resources.
Numeric organisation API key identifier.
5
The updated organisation API key.
An organisation-scoped API key (ok_). Used to manage projects and other organisation-level resources.
Numeric organisation API key identifier.
5
Human-readable label.
"CI bot — provisioning"
Role granted to the API key on the organisation. Cannot exceed the creator’s own role.
member, admin, owner The key value, prefixed with ok_. Returned in full only on creation; subsequent reads return a masked form.
"ok_01HXY7Z9K8M5J2N4P6Q8R0S1T2"
Was this page helpful?