RegisterObject creates a Relationship within a Policy.
The Owner has complete control over the set of subjects that are related to their Object,
giving them autonomy to share the object and revoke acces to the object,
much like owners in a Discretionary Access Control model.
Attempting to register a previously registered Object is an error, Object IDs are therefore assumed to be unique within a Policy.
Request Body — REQUIRED | ||
---|---|---|
creator string | ||
policy_id string | ||
object objectObject represents an entity which must be access controlled within a Policy.
| ||
creation_time date-time |
Responses | ||||
---|---|---|---|---|
200 A successful response.
| ||||
default An unexpected error response.
|