v1

latestSwagger 2.0Apache 2.02026-07-17152737.5 KB
relationship

Create a Relationship

Use this endpoint to create a relationship.

put/admin/relation-tuples

Request body

namespacestring

Namespace to query

objectstring

Object to query

relationstring

Relation to query

subject_idstring

SubjectID to query

Either SubjectSet or SubjectID can be provided.

Response

relationship

namespacestring required

Namespace of the Relation Tuple

objectstring required

Object of the Relation Tuple

relationstring required

Relation of the Relation Tuple

subject_idstring

SubjectID of the Relation Tuple

Either SubjectSet or SubjectID can be provided.

All 15 operations