Skip to main content
POST
/
api
/
v1
/
api-keys
/
{id}
/
revoke
Revoke API key
curl --request POST \
  --url https://api.devhelm.io/api/v1/api-keys/{id}/revoke \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": 123,
    "name": "<string>",
    "key": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "lastUsedAt": "2023-11-07T05:31:56Z",
    "revokedAt": "2023-11-07T05:31:56Z",
    "expiresAt": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

API key (dh_live_...) or Auth0 JWT token

Path Parameters

id
integer<int32>
required

Response

200 - */*

OK

data
object

API key for programmatic access to the DevHelm API