Lists the teams that a principal belongs to against a given teamable

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

This method supports pagination.

Parameters

Name Required Type Description
domainId true string
principalId true string The ID of the principal
teamableType true string
teamableId 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"
      }
    }
  }
}