Revoke API key
DELETE
/ai/admin/service-accounts/{id}/keys/{keyId}Contract
Parameter | Value |
|---|---|
| Section | ai-admin |
| Authentication | CookieAuth |
| Consumes | not required |
| Produces | application/json |
Parameters
2 parameters
Name | Location | Required | Type | Description |
|---|---|---|---|---|
| id | path | yes | integer | Service-account ID |
| keyId | path | yes | integer | API-key ID |
Responses
4 responses
Status | Description | Type |
|---|---|---|
200 | Successful response | no body |
400 | Invalid service-account or API-key ID | object |
401 | Unauthorized | object |
500 | Internal server error | object |
{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }