Get a collection's roles

GET {{baseUrl}}/collections/{{collectionId}}/roles

Gets information about all [roles] in a collection. The response returns the IDs of all users, teams, and groups with access to view or edit the collection.

RESPONSES

status: OK

{"group":[{"role":"VIEWER","id":321}],"team":[{"role":"EDITOR","id":123}],"user":[{"role":"VIEWER","id":12345678},{"role":"EDITOR","id":87654321}]}