All Products
Search
Document Center

Simple Log Service:EnableApiKey

Last Updated:Sep 05, 2026

Starts a specified API key so that it can continue to be used for writing data.

Operation description

Operation description

  • This operation starts a specified API key by changing its status from disabled to enabled.

  • After the API key is started, it can continue to be used for writing data.

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

POST /apikeys/{apiKeyName}/enable HTTP/1.1

Path Parameters

Parameter

Type

Required

Description

Example

apiKeyName

string

Yes

The API key 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.