Deletes a specified ApiKey resource.
Operation description
Request description
This API operation deletes an ApiKey with the specified name from a project.
After deletion, the ApiKey becomes invalid immediately and can no longer be used to write data.
This operation is idempotent. A
204 No Contentresponse is returned even if the ApiKey does not exist.
Try it now
Test
RAM authorization
Request syntax
DELETE /apikeys/{apiKeyName} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| apiKeyName |
string |
Yes |
The ApiKey name. |
demo-apikey-001 |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| project |
string |
No |
The project name. |
test |
Response elements
|
Element |
Type |
Description |
Example |
None defined.
Examples
Success response
JSON format
{}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.