post https://your-instance.stats.pbx.commpeak.com/api/deleteAgent
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": ""
}