api-key-controller
Update API key Description
Updates the description of the existing API key by apiKeyId. Only the description can be updated. Referencing a non-existing ApiKey Id will cause a 'Not Found' error.
Available for any authorized user.
put/api/apiKey/{id}/description
Path parameters
idstring uuid required
A string value representing the api key id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'
Request body
string required
New description for the API key
Response
OK
Example response
{
"id": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "API_KEY"
},
"createdTime": 1746028547220,
"tenantId": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "TENANT"
},
"userId": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "USER"
},
"description": "API Key description",
"enabled": true
}