cURL
curl --request GET \ --url https://api.joinworth.com/auth/api/v1/customers/{customerID}/subroles \ --header 'Authorization: Bearer <token>'
{ "status": "success", "message": "Customer subroles fetched successfully.", "data": [ { "code": "cro", "label": "CRO", "id": "cdc69893-6d14-4ba5-a8a8-a0ba79f966b0", "display_name": "CRO" }, { "code": "risk_analyst", "label": "Risk Analyst", "id": "cececa89-aa54-4433-8184-ec0598392811", "display_name": "Risk Analyst" } ] }
Fetches a list of subroles associated with a specific customer. Accessible by respective Customer.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
OK
The response is of type object.
object
Was this page helpful?