Unassign User from Policy

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://apidocs.zerionsoftware.com/doc/zerion-identity/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "Zerion Identity MCP server": {
    "url": "https://apidocs.zerionsoftware.com/doc/zerion-identity/mcp"
  }
}

Close
DELETE /policies/{policy_id}/users

Path parameters

  • policy_id string Required

    id of the policy

application/json

Body

  • id string Required

Responses

  • 200 application/json

    OK

    Hide response attribute Show response attribute object
    • id string Required
DELETE /policies/{policy_id}/users
curl \
 --request DELETE 'https://identity.zerionsoftware.com/v1/policies/self/users' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '"[\n  {\n    \"id\": \"6f72b386ac43d1414e59188d\"\n  },\n  {\n    \"id\": \"6f72b386ac43d1414e59188e\"\n  }\n]"'
Request example
[
  {
    "id": "6f72b386ac43d1414e59188d"
  },
  {
    "id": "6f72b386ac43d1414e59188e"
  }
]
Response examples (200)
[
  {
    "id": "6e72b386ac43d1414e59188d"
  },
  {
    "id": "6e72b386ac43d1414e59188e"
  }
]