DELETE/organization/projects/{project_id}/api_keys/{api_key_id}

Delete project API key

Deletes an API key from the project.

Returns confirmation of the key deletion, or an error if the key belonged to a service account.

2 parameters
project_idstringrequired
The ID of the project.
api_key_idstringrequired
The ID of the API key.

5 status codes
200Project API key deleted successfully.
objectstringrequired
Allowed:organization.project.api_key.deleted
idstringrequired
deletedbooleanrequired
400Error response for various conditions.
errorobjectrequired
403The caller does not have permission to perform this operation.
errorobjectrequired
Details about the permission error.
404A requested project, user, service account, or API key was not found.
errorobjectrequired
429Too many management requests. Reduce the request rate and try again later.
errorobjectrequired

Error handling

A 400 is returned: Error response for various conditions. A 403 is returned: The caller does not have permission to perform this operation. A 404 is returned: A requested project, user, service account, or API key was not found. A 429 is returned: Too many management requests. Reduce the request rate and try again later.