Skip to main content
DELETE
/
agents
/
{id}
Archive an agent (soft-delete)
curl --request DELETE \
  --url https://origami.chat/api/v2/agents/{id} \
  --header 'Authorization: Bearer <token>'
{
  "agent": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "deletedAt": "2023-11-07T05:31:56Z"
  },
  "workspace": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "deletedAt": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

Response

Archived

agent
object
required
workspace
object
required