Skip to main content
POST
/
api
/
v1
/
api-keys
/
{id}
/
regenerate
Regenerate API key
curl --request POST \
  --url https://api.devhelm.io/api/v1/api-keys/{id}/regenerate \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": 123,
    "name": "<string>",
    "key": "<string>",
    "createdAt": "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

Created API key with the full key value — store it now, it won't be shown again