Delete an MCP server and all associated connections.
This will:
For custom server types, this will also delete the associated server directory.
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.
Server UUID
Server deleted successfully
Unique identifier for the server
"123e4567-e89b-12d3-a456-426614174000"
Human-readable name of the server
"Salesforce Production"
URL-friendly identifier used in API paths
^[a-z0-9-]+$"salesforce"
Current connection status:
available: Server is available but not connectedpending: Connection is in progress or credentials missingconnected: Server is connected and ready to useerror: Connection failed or encountered an erroravailable, pending, connected, error "connected"
Third-party provider name
"salesforce"
MCP base URL from the server directory
"https://api.salesforce.com/mcp"