Partner gỡ hotline ra khỏi tổng đài
API này cho phép Partner gỡ hotline ra khỏi tổng đài.
Body
hotline_idstring · int64Optional
owner_idstring · int64Optional
Responses
200
A successful response
application/json
post
POST /PartnerRemoveHotlineFromTenant HTTP/1.1
Host: $BASE_URL.Etelecom
Content-Type: application/json
Accept: */*
Content-Length: 39
{
"hotline_id": "text",
"owner_id": "text"
}
200
A successful response
{
"removed": 1
}
Request:
curl --location 'BASE_URL.Etelecom/PartnerRemoveHotlineFromTenant' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer $API_KEY' \
--data '{
"hotline_id": "string",
"owner_id": "string"
}'
Response:
{
"removed": 0
}
Cấu trúc của body request:
Tham số
Kiểu dữ liệu
Mô tả
hotline_id require
string
ID hotline
owner_id require
string
ID người quản lý
Last updated