List ReBAC object types.
GET
/api/admin/rebac/object-types
Code sample: Shell / cURL
curl --request GET \ --url https://auth.example.com/api/admin/rebac/object-types \ --header 'Authorization: Bearer <token>'Return unique object types used by relation definitions in the current tenant and their definition counts.
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”ReBAC object type summary response.
Media type application/json
object
object_types
required
Array<object>
object
name
required
string
definition_count
required
integer
key
additional properties
key
additional properties
Example generated
{ "object_types": [ { "name": "example", "definition_count": 1 } ]}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}