SetRelationship creates or updates a Relationship within a Policy.
A Relationship is a statement which ties together an object and a subjecto with a "relation",
which means the set of high level rules defined in the Policy will apply to these entities.
Request Body — REQUIRED | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
creator string | ||||||||||||||||
policy_id string | ||||||||||||||||
creation_time date-time | ||||||||||||||||
relationship objectRelationship models an access control rule. It states that the given subject has relation with object.
|
Responses | ||||
---|---|---|---|---|
200 A successful response.
| ||||
default An unexpected error response.
|