POST
/
v1
/
upsertAnrokApiToken
Upsert Anrok API token
curl --request POST \
  --url https://api.metronome.com/v1/upsertAnrokApiToken \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "delivery_method_ids": [
    "9a906ebb-fbc7-42e8-8e29-53bfd2db3aca"
  ],
  "anrok_api_token": "s123/sak456/secret.789"
}'
{
  "data": {
    "success": true
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Set the Anrok API token for some specified delivery_method_ids

The body is of type object.

Response

Success

The response is of type object.