cURL
curl --request GET \ --url https://cite.petal.org/api/user/{user_id}/organization/list \ --header 'Authorization: Bearer <token>'
[ { "created_at": "<string>", "description": "<string>", "id": 123, "is_personal": true, "meta": {}, "modified_at": "<string>", "modified_by": 123, "name": "<string>", "schema": [ { "default": true, "description": "", "label": "", "name": "<string>", "type": "<string>" } ], "user_id": 123 } ]
List all Organizations a given user is part of
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The unique ID of the user
OK
The response is of type Organization · object[].
Organization · object[]