Add x-hidden to endpoints
Get list of all organization memberships
Returns all the organization memberships
get/v3/organization_memberships
Query parameters
offsetinteger
The number of documents to skip before starting to collect the result set.
limitinteger
Example:20
The numbers of results to return.
organizationstring
Uniquely identify an organization.
Example:mEFayXdO
Filter by organization.
role'admin' | 'member'
Example:admin
Filter by role.
Response
Memberships of the organizations you created or joined.
Example response
{
"count": 10,
"results": [
{
"organization": "mEFayXdO",
"user": {
"id": 1,
"name": "Carl Johnson",
"username": "carljohnson",
"email": "carljohnson@grove.street",
"avatar": "https://affinda-api.s3.amazonaws.com/media/user-avatar.png?AWSAccessKeyId=KEY&Signature=SIG"
},
"role": "admin"
}
]
}