Patch Multiple Relationships
PATCH {{baseUrl}}/admin/relation-tuples
Use this endpoint to patch one or more relationships.
Request Body
{"0"=>{"action"=>"delete", "relation_tuple"=>{"namespace"=>"<string>", "object"=>"<string>", "relation"=>"<string>", "subject_id"=>"<string>", "subject_set"=>{"namespace"=>"<string>", "object"=>"<string>", "relation"=>"<string>"}}}, "1"=>{"action"=>"delete", "relation_tuple"=>{"namespace"=>"<string>", "object"=>"<string>", "relation"=>"<string>", "subject_id"=>"<string>", "subject_set"=>{"namespace"=>"<string>", "object"=>"<string>", "relation"=>"<string>"}}}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |