Authzed · Example Payload

Write Relationships Request

AuthorizationAccess ControlPermissionsZanzibarSpiceDBgRPCRESTRelationship-Based Access ControlReBACFine-Grained AuthorizationIdentitySecurity

Write Relationships Request is an example object payload from Authzed, with 1 top-level field. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

updates

Example Payload

Raw ↑
{
  "updates": [
    {
      "operation": "OPERATION_CREATE",
      "relationship": {
        "resource": {
          "objectType": "document",
          "objectId": "doc123"
        },
        "relation": "viewer",
        "subject": {
          "object": {
            "objectType": "user",
            "objectId": "user456"
          }
        }
      }
    }
  ]
}