List Organization Memberships
$ nirvana organizations:memberships list
GET/v1/organizations/{organization_id}/memberships
List all memberships for an organization
List Organization Memberships
nirvana organizations:memberships list \
--api-key 'My API Key' \
--organization-id organization_id{
"items": [
{
"id": "987e6543-e89b-12d3-a456-426614174000",
"created_at": "2025-01-01T00:00:00Z",
"organization_id": "123e4567-e89b-12d3-a456-426614174000",
"role": "owner",
"updated_at": "2025-01-01T00:00:00Z",
"user_id": "user_01H8GQBX3Z"
}
],
"pagination": {
"next_cursor": "RhwniMT4B74siYZcPF8TnCdGI1l9rpPvg",
"previous_cursor": "ARhwnmi1hA7wEbHbMjdYQlOB_ZusP4fYvw",
"total_count": 125
}
}Returns Examples
{
"items": [
{
"id": "987e6543-e89b-12d3-a456-426614174000",
"created_at": "2025-01-01T00:00:00Z",
"organization_id": "123e4567-e89b-12d3-a456-426614174000",
"role": "owner",
"updated_at": "2025-01-01T00:00:00Z",
"user_id": "user_01H8GQBX3Z"
}
],
"pagination": {
"next_cursor": "RhwniMT4B74siYZcPF8TnCdGI1l9rpPvg",
"previous_cursor": "ARhwnmi1hA7wEbHbMjdYQlOB_ZusP4fYvw",
"total_count": 125
}
}