Skip to main content
POST
/
v1
/
api
/
clients
/
rotate-key
Rotate Key
curl --request POST \
  --url http://service.authmatech.com/v1/api/clients/rotate-key \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --header 'X-CLIENT-ID: <x-client-id>' \
  --data '
{
  "secretKey": "<string>"
}
'
{
  "success": true,
  "messages": [
    {
      "type": "SUCCESS",
      "httpStatus": "OK",
      "technical": false
    }
  ],
  "data": {
    "newApiKey": "string"
  }
}

Authorizations

X-API-KEY
string
header
required

Headers

X-CLIENT-ID
string
required

Body

application/json
secretKey
string

Secret Key

Response

Rotated successfully