POST
/v1/mgmt/role/search
Search roles, using a valid management key.
This API endpoint allows administrators to search against existing roles.
This endpoint returns an array of roles including their name, description, and permissionsNames that match the search parameters.
See also
- See User Authorization for further details on managing roles and permissions.
Endpoint Authentication
Use authorization bearer header with the following format:
Authorization: Bearer \<ProjectId:ManagementKey\>
Authorization
Authorization
RequiredBearer <token>
< Project ID >:< Management Key > as bearer
In: header
Request Body
tenantIds
array<string>
roleNames
array<string>
roleNameLike
string
permissionNames
array<string>
text
string
Full text search across relevant columns
sort
array<object>
Status code | Description |
---|---|
200 | OK |
Was this helpful?