Admin — Roles
List role members
Returns all users assigned to a specific role in the organization.
Path Parameters
id*string
Length
1 <= length <= 128Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "http://localhost:3001/api/v1/admin/roles/role_abc123/members"{
"members": [
{
"userId": "string",
"role": "string",
"createdAt": "string"
}
],
"total": 0
}{
"error": "string",
"message": "string",
"requestId": "string"
}{
"property1": null,
"property2": null
}{
"property1": null,
"property2": null
}{
"error": "string",
"message": "string",
"requestId": "string"
}{
"property1": null,
"property2": null
}{
"error": "string",
"message": "string",
"requestId": "string"
}