Skip to main content
DELETE
/
api
/
servers
/
{server_id}
/
connection
Delete connection
curl --request DELETE \
  --url https://{organization_id}.platform.barndoor.ai/api/servers/{server_id}/connection \
  --header 'Authorization: Bearer <token>'
{
  "error": "ServerNotFound",
  "message": "Server with ID '123' not found",
  "details": {}
}

Documentation Index

Fetch the complete documentation index at: https://docs.barndoor.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

JWT token obtained through Auth0 OAuth 2.0 flow with PKCE.

The token should be included in the Authorization header: Authorization: Bearer <your-jwt-token>

Use the Barndoor SDK's loginInteractive() function to obtain tokens automatically.

Path Parameters

server_id
string<uuid>
required

Server UUID

Response

Connection deleted successfully