v4

latestOpenAPI 3.1.02026-08-02261331761.5 KB
Relationship tuples

Delete Relationship Tuple

Delete a relationship between two resource instances.

delete/v2/facts/{proj_id}/{env_id}/relationship_tuples

Path parameters

proj_idstring required

Either the unique id of the project, or the URL-friendly key of the project (i.e: the "slug").

Either the unique id of the project, or the URL-friendly key of the project (i.e: the "slug").

env_idstring required

Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the "slug").

Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the "slug").

Request body

subjectstring required

the resource instance assigned the new relation (accepts either the resource instance id or resource_key:resource_instance_key)

relationstring required

the relation to assign between the subject and object

objectstring required

the resource instance on which the new relation is assigned (accepts either the resource instance id or resource_key:resource_instance_key)

Example request

{
  "subject": "organization:permitio",
  "relation": "owner",
  "object": "repo:removed_repo"
}

Response

Successful Response