Cloud APIs
GroupsApi
groupRole

groupRole

Gets information about a specific role for a group.

Parameters

NameTypeDescription
groupIdGroupIdThe id of the group to get the role information from.
roleIdRoleIdThe id of the role to get information about.

Example

const { data: role } = await GroupsApi.groupRole({ groupId: 5850082, roleId: 48715304 }); 

Endpoint

GET /v2/groups/{groupId}/roles/{roleId}