Update the name or scopes of an API key. Requires api_key:update scope.
api_key:update
cURL
curl --request PATCH \ --url https://api.zeroclick.quest/v1/api-keys/{id} \ --header 'Content-Type: application/json' \ --header 'x-zam-api-key: <api-key>' \ --data ' { "name": "<string>", "scopes": [ "<string>" ] } '
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "keyPrefix": "<string>", "scopes": [ "<string>" ], "lastUsedAt": "2023-11-07T05:31:56Z", "expiresAt": "2023-11-07T05:31:56Z", "createdAt": "2023-11-07T05:31:56Z" }
ZAM API key. Starts with zam_.
zam_
API key UUID
Updated API key
First 8 characters after zam_ for identification