Skip to main content
POST
/
v1
/
cwobject
/
revoke-access-key
/
access-key
Revoke an access key
curl --request POST \
  --url https://api.coreweave.com/v1/cwobject/revoke-access-key/access-key \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "accessKey": "<string>"
}
'
This response has no body data.

gRPC method: RevokeAccessKeyByAccessKey

Revokes a single access key. To revoke every access key owned by a principal, use RevokeAccessKeysByPrincipal instead.
data.json
{
  "accessKey": "example-access-key"
}
Example request
curl -X POST https://api.coreweave.com/v1/cwobject/revoke-access-key/access-key \
       -H "Content-Type: application/json" \
       -H "Authorization: Bearer {API_ACCESS_TOKEN}" \
       -d @data.json

Authorizations

Authorization
string
header
default:Bearer {API_ACCESS_TOKEN}
required

CoreWeave API access token sent as a bearer token in the Authorization header (the value is prefixed with Bearer). Used by every operation except the SAML/OIDC token-exchange endpoints (anonymous) and the container credentials GET (which uses ContainerCredentialsAuth).

Body

application/json

Inputs for revoking a single access key by its access-key value.

accessKey
string
required

The access-key value (not the ID) to revoke.

Response

Last modified on June 25, 2026