cURL
curl --request GET \ --url https://lancepilot.com/api/v3/workspaces/{workspace}/roles/{role} \ --header 'Authorization: Bearer <token>'
{ "data": {} }
Retrieve a specific role by ID in the specified workspace.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID of the workspace.
ID of the role.