Revoke previously rotated Cluster API Keys

Base URL
https://api.elastic-cloud.com
  • POST /api/v1/cloud-connected/clusters/{id}/apikey/_revoke-pending
Auth

Revoke API keys for this cluster that are pending revocation after a rotation operation. The _rotate endpoint schedules revocation in 7 days; this endpoint revokes those pending keys immediately.

Path parameters

id string · pattern: ^[a-z0-9]{32}$ required

The ID of the Cloud Connected cluster

Header parameters

If-Match string

ETag value fetched in a previous GET cluster request. Used to prevent simultaneous updates

Responses

200

The previous API Key has been deleted.

Unauthorized

application/json
errors object[] required
message string required

A human-readable message of the error.

code string required

An identifier for this type of error.

Forbidden

application/json
errors object[] required
message string required

A human-readable message of the error.

code string required

An identifier for this type of error.

Not Found

application/json
errors object[] required
message string required

A human-readable message of the error.

code string required

An identifier for this type of error.

Base URL
https://api.elastic-cloud.com