relationship

Create a Relationship

Changed on

Use this endpoint to create a relationship.

put/admin/relation-tuples

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /admin/relation-tuples
  • Auth
    none declared

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.

Changes

    • info

      api operation id createRelationTuple removed and replaced with createRelationship

    • info

      api tag relationship added

    • info

      api tag write removed

    • info

      removed the non-success response with the status

    • info

      endpoint added