Was this helpful?
Retrieve details of tenant custom headers.
/tenant/custom_headers
curl -L \ --url 'https://HOSTNAME:8887/api/tenant/custom_headers' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{ "add": [ { "name": "text", "value": "text", "scope": "TRUNK" } ], "relay": [ { "name": "text", "scope": "TRUNK" } ] }
Update tenant custom headers.
curl -L \ --request POST \ --url 'https://HOSTNAME:8887/api/tenant/custom_headers' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \ --header 'Content-Type: application/json' \ --data '{"add":[{"scope":"TRUNK"}],"relay":[{"scope":"TRUNK"}]}'
No body