Update a Polilcy

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
PUT /policies/{policy_id}

Path parameters

  • policy_id string Required

    id of the policy

application/json

Body

  • description string
  • type string
  • used_as string

Responses

  • 200 application/json

    OK

    Hide response attribute Show response attribute object
    • id string Required

      the updated policy id

PUT /policies/{policy_id}
curl \
 --request PUT 'https://identity.zerionsoftware.com/v1/policies/self' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"description":"Description of this user group","type":"no idea what this is","used_as":"no idea what this is"}'
Request examples
{
  "description": "Description of this user group",
  "type": "no idea what this is",
  "used_as": "no idea what this is"
}
Response examples (200)
{
  "id": "7e72b386ac44d1414e59188b"
}