List Roles for Customer

GET {{baseUrl}}/customers/:customerId/roles?page[cursor]=<string>&page[size]=20

Get the roles available for specified customer ID

Request Params

KeyDatatypeRequiredDescription
page[cursor]stringCursor to fetch next paginated items
page[size]numberMax number of items to return in a page

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;links&quot;:{&quot;self&quot;:&quot;/customers/8e9833b5-b844-40a3-8572-4a16d29c53bc/roles&quot;,&quot;next&quot;:&quot;/customers/8e9833b5-b844-40a3-8572-4a16d29c53bc/roles?page[cursor]=qwerty&quot;},&quot;data&quot;:[{&quot;type&quot;:&quot;Role&quot;,&quot;id&quot;:&quot;c4332efa-1bc8-4d3c-bf39-e3df93d749e4&quot;,&quot;attributes&quot;:{&quot;technicalName&quot;:&quot;sbs.user&quot;,&quot;displayName&quot;:&quot;User&quot;,&quot;permissions&quot;:[&quot;app.accountMgr&quot;,&quot;app.accountMgr&quot;]}},{&quot;type&quot;:&quot;Role&quot;,&quot;id&quot;:&quot;c4332efa-1bc8-4d3c-bf39-e3df93d749e4&quot;,&quot;attributes&quot;:{&quot;technicalName&quot;:&quot;sbs.user&quot;,&quot;displayName&quot;:&quot;User&quot;,&quot;permissions&quot;:[&quot;app.accountMgr&quot;,&quot;app.accountMgr&quot;]}}]}