Skip to main content
GET
http://localhost:3000
/
role-assignments
curl -X GET 'https://api.example.com/role-assignments?membershipIds=mem_1,mem_2' \
  -H 'Authorization: Bearer YOUR_TOKEN'
[
  {
    "id": "ra_123",
    "roleId": "role_456",
    "membershipId": "mem_1"
  },
  {
    "id": "ra_124",
    "roleId": "role_789",
    "membershipId": "mem_2"
  }
]

Query Parameters

membershipIds
string
required
Comma-separated list of membership IDs to get role assignments for

Response

Returns an array of role assignment objects.
assignments
array
curl -X GET 'https://api.example.com/role-assignments?membershipIds=mem_1,mem_2' \
  -H 'Authorization: Bearer YOUR_TOKEN'
[
  {
    "id": "ra_123",
    "roleId": "role_456",
    "membershipId": "mem_1"
  },
  {
    "id": "ra_124",
    "roleId": "role_789",
    "membershipId": "mem_2"
  }
]