Manage Agents
Delete Agent
Delete Agent API
This API endpoint is used to delete an agent.
Request Body
-
userExtension (text, required): The extension number to dial to reach this user.
-
format (text): The format of the response.
Response
The response for this request is a JSON object with the following properties:
-
success (string): Indicates the success status of the operation.
-
message (string): Provides additional information or error message.
Example
{
"success": "",
"message": ""
}
post/api/deleteAgent
Request
- Base URLhttps://your-instance.stats.pbx.commpeak.com
- URLhttps://your-instance.stats.pbx.commpeak.com/api/deleteAgent
- AuthAPI key in header X-API-KEY
Request body application/x-www-form-urlencoded
Example request
{
"format": "json",
"userExtension": "<number>"
}Response
successful
Example response
{
"message": "<string>",
"success": "<boolean>"
}Changes
No recorded changes to this operation across all 1 revision of this API.