All Products
Search
Document Center

Simple Log Service:DeleteApiKey

Last Updated:Sep 05, 2026

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 Content response is returned even if the ApiKey does not exist.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

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.