GET /api/tenant/custom_headers HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"add": [
{
"name": "text",
"value": "text",
"scope": "TRUNK"
}
],
"relay": [
{
"name": "text",
"scope": "TRUNK"
}
]
}POST /api/tenant/custom_headers HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 98
{
"add": [
{
"name": "text",
"value": "text",
"scope": "TRUNK"
}
],
"relay": [
{
"name": "text",
"scope": "TRUNK"
}
]
}