Was this helpful?
Retrieve details of tenant custom headers.
The added custom SIP headers and forwarded SIP headers in tenant scope.
GET /api/tenant/custom_headers HTTP/1.1 Host: hostname:8887 Authorization: Bearer YOUR_SECRET_TOKEN Accept: */*
OK
{ "add": [ { "name": "text", "value": "text", "scope": "ALL" } ], "relay": [ { "name": "text", "scope": "ALL" } ] }
Update tenant custom headers.
POST /api/tenant/custom_headers HTTP/1.1 Host: hostname:8887 Authorization: Bearer YOUR_SECRET_TOKEN Content-Type: application/json Accept: */* Content-Length: 94 { "add": [ { "name": "text", "value": "text", "scope": "ALL" } ], "relay": [ { "name": "text", "scope": "ALL" } ] }
No Content