Update a List of Policies

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

Query parameters

  • fields string

    extra information of each user on the list

  • limit number

    maximum count of the user list

  • offset number

    skip that many users before beginning to return

application/json

Body

  • description string
  • id string
  • name string Required
  • 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
curl \
 --request PUT 'https://identity.zerionsoftware.com/v1/policies' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"description":"Description of this user group","id":"7e72b386ac43d1414e59188b","name":"demo_group1","type":"no idea what this is","used_as":"no idea what this is"}'
Request examples
{
  "description": "Description of this user group",
  "id": "7e72b386ac43d1414e59188b",
  "name": "demo_group1",
  "type": "no idea what this is",
  "used_as": "no idea what this is"
}
Response examples (200)
[
  {
    "id": "7e72b386ac43d1414e59188b"
  },
  {
    "id": "7e72b386ac43d1414e59188c"
  }
]