UNPKG

@ory/client

Version:

OpenAPI client for @ory/client

30 lines (22 loc) 1.01 kB
# CreateRelationshipBody Create Relationship Request Body ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **namespace** | **string** | Namespace to query | [optional] [default to undefined] **object** | **string** | Object to query | [optional] [default to undefined] **relation** | **string** | Relation to query | [optional] [default to undefined] **subject_id** | **string** | SubjectID to query Either SubjectSet or SubjectID can be provided. | [optional] [default to undefined] **subject_set** | [**SubjectSet**](SubjectSet.md) | | [optional] [default to undefined] ## Example ```typescript import { CreateRelationshipBody } from '@ory/client'; const instance: CreateRelationshipBody = { namespace, object, relation, subject_id, subject_set, }; ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)