Lists the groups that a principal belongs to

GET /domains/{domainId}/principals/{principalId}/memberships

This method supports pagination.

Parameters

Name Required Type Description
domainId true string
principalId true string
sort false object Defines how to sort fields in the result set
skip false number Skips the result set cursor ahead the specified number of records
limit false number Specifies the number of records to be handed back in the result set

Response

"type": "object", "description": "Result Map", "properties": { "total_rows": { "type": "number" }, "offset": { "type": "number" }, "size": { "type": "number" }, "rows": { "type": "array", "items": { "type": "domainprincipal" } } } }