List principals in an organization.
All principal types are supported.
Requires the caller to be logged into the target organization, or to be an admin in any of its the ancestor organizations.
A list of principals, with a cursor pointing to the next results page
{- "items": [
- {
- "id": "5yAFQRAATb7vtWGp4gvbJD3wE7VS81CGuQ7EZT",
- "type": "SERVICE_ACCOUNT",
- "externalId": "my.known.id",
- "name": "string",
- "description": "This is a service account used by data pipeline A-xxx",
- "createdBy": {
- "orgId": "my-org",
- "userId": "-user-string-id-aBc123"
}, - "createdTime": 1730204346000,
- "lastUpdatedTime": 1730204346000,
- "pictureUrl": "string"
}
], - "nextCursor": "4zj0Vy2fo0NtNMb229mI9r1V3YG5NBL752kQz1cKtwo"
}