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

Update API Key

PATCH request to /v2/auth/api-keys

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[]
required

Response

Success

The response is of type object.