api-docs-icon

List roles

GET
/ role

object_id
string (uuid)

filter roles by object id

object_type
enum

The object types that roles can be assigned to.

Allowed Values:
api_project
doc_project
organization
user_id
string (uuid)

filter roles by user id

Responses

Roles attached to queried object

application/json
array[object]
object

Code Examples

Response