v1
protected
access-control

Create Relationship

Grant a resource-ownership relation via the configured graph backend.

post/v1/workspaces/{workspace}/access-control/relationships

Path parameters

workspacestring required

Slug of the workspace the request acts in

Slug of the workspace the request acts in

Request body

namespacestring required
objectstring required
relationstring required
subject_idstring nullable

Response

Successful Response

object required

Changes