Feature access codes

List feature access codes

get

Returns a list of feature access codes.

Authorizations
Responses
curl -L \
  --url 'https://HOSTNAME:8887/api/feature_access_codes' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "items": [
    {
      "code": "text",
      "feature": "ACCESSING_SHARED_VOICEMAIL",
      "enabled": true
    }
  ]
}

Update feature access code

post

Update properties of a feature access code.

Authorizations
Body
itemsobject[]optional

Responses
curl -L \
  --request POST \
  --url 'https://HOSTNAME:8887/api/feature_access_codes' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
  --header 'Content-Type: application/json' \
  --data '{
    "items": [
      {
        "code": "text",
        "feature": "ACCESSING_SHARED_VOICEMAIL",
        "enabled": true
      }
    ]
  }'

No body

Was this helpful?