Skip to main content
POST
/
v1
/
keys
/
rotate
Rotate API key
curl --request POST \
  --url https://grantex-auth-dd4mtrt2gq-uc.a.run.app/v1/keys/rotate \
  --header 'Authorization: Bearer <token>'
{
  "apiKey": "<string>",
  "rotatedAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Developer API key

Response

200 - application/json

New API key

apiKey
string
rotatedAt
string<date-time>