Skip to main content
DELETE
/
v1
/
agents
/
{id}
Delete Agent
curl --request DELETE \
  --url https://api.bey.dev/v1/agents/{id} \
  --header 'x-api-key: <api-key>'
import requests

url = "https://api.bey.dev/v1/agents/{id}"

headers = {"x-api-key": "<api-key>"}

response = requests.delete(url, headers=headers)

print(response.text)
const options = {method: 'DELETE', headers: {'x-api-key': '<api-key>'}};

fetch('https://api.bey.dev/v1/agents/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

x-api-key
string
header
required

Your Beyond Presence API Key.

Path Parameters

id
string
required

Agent ID.

Response

Successful Deletion