Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
curl --request DELETE \
--url https://api.pawa-ai.com/v1/agents/delete/{id} \
--header 'Authorization: Bearer <token>'
{
"success": true,
"message": "Agent deleted successfully",
"data": {
"id": 0,
"agentReferenceId": "67cf5354-89f0-8001-b038-b2645377b214",
"name": "TutorAI",
"description": "TutorAI is an AI agent designed to assist students with their studies.",
"instruction": "Teaching students on subjects ranging from form one to form 4. Follow questions properly and do not answer any other questions apart from what you have been tasked to",
"status": "ACTIVE",
"createdAt": "2021-09-01T00:00:00.000Z",
"updatedAt": "2021-09-01T00:00:00.000Z"
}
}
This endpoint used to delete the custom agent in the Pawa AI Platform.
curl --request DELETE \
--url https://api.pawa-ai.com/v1/agents/delete/{id} \
--header 'Authorization: Bearer <token>'
{
"success": true,
"message": "Agent deleted successfully",
"data": {
"id": 0,
"agentReferenceId": "67cf5354-89f0-8001-b038-b2645377b214",
"name": "TutorAI",
"description": "TutorAI is an AI agent designed to assist students with their studies.",
"instruction": "Teaching students on subjects ranging from form one to form 4. Follow questions properly and do not answer any other questions apart from what you have been tasked to",
"status": "ACTIVE",
"createdAt": "2021-09-01T00:00:00.000Z",
"updatedAt": "2021-09-01T00:00:00.000Z"
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.