Skip to main content
DELETE
https://api.app.shinzo.ai
/
v1
/
mcp
/
servers
/
{id}
/
access
/
{agentId}
Revoke Agent Access
curl --request DELETE \
  --url https://api.app.shinzo.ai/v1/mcp/servers/{id}/access/{agentId} \
  --header 'Authorization: Bearer <token>'

Authentication

Requires JWT token or Platform API key via Authorization: Bearer <token> header.
id
string
required
MCP server UUID
agentId
string
required
Agent UUID

Example Request

curl -X DELETE https://api.app.shinzo.ai/v1/mcp/servers/a1b2c3d4-e5f6-7890-abcd-ef1234567890/access/b2c3d4e5-f6a7-8901-bcde-f12345678901 \
  -H "Authorization: Bearer <token>"

Example Response

{
  "message": "Access revoked successfully"
}

Status Codes

CodeDescription
200Access revoked successfully
401Unauthorized - invalid or missing authentication
404MCP server or access grant not found