Skip to main content
PATCH
/
v2
/
auth
/
api-keys
Update API key
curl --request PATCH \
  --url https://api.example.com/v2/auth/api-keys/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "otp": "<string>",
  "apiKey": "<string>",
  "whitelistedIPs": [
    "<string>"
  ]
}
'
{
  "error": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
otp
string
required
apiKey
string
required
whitelistedIPs
string[]

Response

OK