relationship

Create a Relationship

Changed on

Use this endpoint to create a relationship.

put/admin/relation-tuples

Request

  • The document declares no server URL.
  • 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

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • 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

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      added the required property to the response with the status

    • info

      endpoint added