Get the usergroups of caller

GET {{baseUrl}}/me/usergroups?page[cursor]=<string>&page[size]=20

Return list of the usergroup (user identity inferred from the SUB in the token)

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;/me/usergroups&quot;,&quot;next&quot;:&quot;/me/usergroups?page[cursor]=qwerty&quot;},&quot;data&quot;:[{&quot;type&quot;:&quot;UserGroup&quot;,&quot;id&quot;:&quot;f68a9762-9679-4c17-9012-ec9271f4087f&quot;,&quot;attributes&quot;:{&quot;name&quot;:&quot;CustomerOperator&quot;,&quot;description&quot;:&quot;Customer Operator for managing user groups&quot;,&quot;isMachineEnabled&quot;:true,&quot;isSystemDefined&quot;:true},&quot;relationships&quot;:{&quot;hasAccessTo&quot;:{&quot;data&quot;:[{&quot;type&quot;:&quot;Partition&quot;,&quot;id&quot;:&quot;e0e662a9-c7a9-495a-a345-e06436d41941&quot;},{&quot;type&quot;:&quot;Partition&quot;,&quot;id&quot;:&quot;e0e662a9-c7a9-495a-a345-e06436d41941&quot;}]},&quot;authorizedAs&quot;:{&quot;data&quot;:[{&quot;type&quot;:&quot;Role&quot;,&quot;id&quot;:&quot;38c5b37e-1143-4760-98b9-0bf15fdf2c6f&quot;},{&quot;type&quot;:&quot;Role&quot;,&quot;id&quot;:&quot;38c5b37e-1143-4760-98b9-0bf15fdf2c6f&quot;}]},&quot;ownedBy&quot;:{&quot;data&quot;:{&quot;type&quot;:&quot;Customer&quot;,&quot;id&quot;:&quot;fee69bee-d108-4c30-9595-47d40b1e24ed&quot;}}}},{&quot;type&quot;:&quot;UserGroup&quot;,&quot;id&quot;:&quot;f68a9762-9679-4c17-9012-ec9271f4087f&quot;,&quot;attributes&quot;:{&quot;name&quot;:&quot;CustomerOperator&quot;,&quot;description&quot;:&quot;Customer Operator for managing user groups&quot;,&quot;isMachineEnabled&quot;:true,&quot;isSystemDefined&quot;:true},&quot;relationships&quot;:{&quot;hasAccessTo&quot;:{&quot;data&quot;:[{&quot;type&quot;:&quot;Partition&quot;,&quot;id&quot;:&quot;e0e662a9-c7a9-495a-a345-e06436d41941&quot;},{&quot;type&quot;:&quot;Partition&quot;,&quot;id&quot;:&quot;e0e662a9-c7a9-495a-a345-e06436d41941&quot;}]},&quot;authorizedAs&quot;:{&quot;data&quot;:[{&quot;type&quot;:&quot;Role&quot;,&quot;id&quot;:&quot;38c5b37e-1143-4760-98b9-0bf15fdf2c6f&quot;},{&quot;type&quot;:&quot;Role&quot;,&quot;id&quot;:&quot;38c5b37e-1143-4760-98b9-0bf15fdf2c6f&quot;}]},&quot;ownedBy&quot;:{&quot;data&quot;:{&quot;type&quot;:&quot;Customer&quot;,&quot;id&quot;:&quot;fee69bee-d108-4c30-9595-47d40b1e24ed&quot;}}}}]}