Delete Agent (Token Authentication)

Deletes an agent based on the provided userName and agentId.

This API allows you to delete an existing agent from your CloudAgent account.

To use this API with the help of a token, follow these steps:

  1. Generate the Token: Use the 'Generate Token' API to obtain an authentication token.
  2. Enter the Token ID: Navigate to the right section of this page, under the 'AUTHORIZATION' tab. Here, input the generated token ID.
  3. With the token entered, pass the below header and body parameters:

❗️

Rate Limit

This API permits up to 5 requests per minute.

Possible Responses

Success Response{"Status": "Success","Message": "Agent xxxxx Deleted Successfully"}
Missing apiKey key / Missing apiKey Value"{""status"": ""false"",""message"": ""Api Key Should Not be Null or Empty."",
""data"": null}"
Passing Invalid apiKey Value{"status": "false","message": "Invalid User Details","data": null}
Passing Invalid userName Value / Missing userName key / Missing userName Value{"status": "false","message": "Invalid User Details","data": null}
Passing Invalid agentId Value / Missing agentId key / Missing agentId Value / "{""messages"": ""Invalid Agent Details"",
""status"": ""error""}"
Deleting an already deleted agent.{"status": "error","messages": "Invalid agent details or Agent is already deleted"}
More than 5 requests per minute"{""status"": ""error"",
""message"": ""Max limit exceeded""}"
Language
Credentials
Bearer
URL
Click Try It! to start a request and see the response here!