Remove User Of Extension
This API is used to remove an extension from a previously assigned user.
Body
extension_idstring · int64Optional
user_idstring · int64Optional
Responses
200
A successful response
application/json
post
POST /RemoveUserOfExtension HTTP/1.1
Host: $BASE_URL.ETelecom
Content-Type: application/json
Accept: */*
Content-Length: 40
{
"extension_id": "text",
"user_id": "text"
}
200
A successful response
{
"updated": 1
}
Request:
curl --location '$BASE_URL.Etelecom/RemoveUserOfExtension' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer $API_KEY' \
--data '{
"extension_id": "string",
"user_id": "string"
}'
Response:
{
"updated": 0
}
Request body structure:
School name
Data type
Describe
updated
int
Status
0
: Failed
1
: Successful
Last updated