curl --request GET \
--url https://api.diversion.dev/v0/organizations/{org_id}/members \
--header 'Authorization: Bearer <token>'{
"items": [
{
"member": {
"id": "member_123456",
"user_id": "user_123456",
"organization_id": "org_123456",
"role": "READ"
},
"user": {
"id": "<string>",
"image": "<string>",
"email": "[email protected]",
"full_name": "<string>",
"name": "<string>",
"tier": "EDUCATION"
}
}
],
"total": 123,
"has_more": true
}Get a paginated list of all members in the organization, sorted by name
curl --request GET \
--url https://api.diversion.dev/v0/organizations/{org_id}/members \
--header 'Authorization: Bearer <token>'{
"items": [
{
"member": {
"id": "member_123456",
"user_id": "user_123456",
"organization_id": "org_123456",
"role": "READ"
},
"user": {
"id": "<string>",
"image": "<string>",
"email": "[email protected]",
"full_name": "<string>",
"name": "<string>",
"tier": "EDUCATION"
}
}
],
"total": 123,
"has_more": true
}This API uses OAuth 2 with the implicit grant flow
Organization identifier
1 - 128Maximum number of items to return
1 <= x <= 100Number of items to skip
x >= 0List of organization members
Show child attributes
Show child attributes
Unique identifier for the organization member
"member_123456"
ID of the user who is a member of the organization
"user_123456"
ID of the organization
"org_123456"
READ, WRITE, ADMIN, OWNER User details
Show child attributes
URL of the user image. If updating the image, could be a base64 encoded image.
524288The tier of the user
EDUCATION, INDIE, PROFESSIONAL, ENTERPRISE, UNKNOWN Total number of items available
Whether there are more items available