Api reference
POST Agents Id Archive
POST
/v1/agents/{id}/archiveAuthorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
id*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
callerAgentId?string|null
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/agents/string/archive" \ -H "Content-Type: application/json" \ -d '{}'{ "agentId": "string", "archived": true, "scheduled": true, "message": "string"}{ "error": "string"}{ "error": "string"}{ "error": "string"}{ "error": "string"}{ "error": "string"}{ "error": "string"}