cURL
curl --request GET \ --url https://app.infisical.com/api/v2/organizations/{organizationId}/memberships \ --header 'Authorization: Bearer <token>'
{ "users": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "role": "<string>", "status": "invited", "inviteEmail": "<string>", "userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "orgId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "roleId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "user": { "username": "<string>", "email": "<string>", "firstName": "<string>", "lastName": "<string>", "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "publicKey": "<string>" } } ] }
Return organization user memberships
An access token in Infisical
The ID of the organization to get memberships from.
Default Response
The response is of type object.
object
Was this page helpful?