TypeScript
const options = {method: 'GET'}; fetch('http://localhost:8000/v1/auth/me/organizations', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
{ "success": true, "data": [ { "id": "<string>", "name": "<string>", "slug": "<string>", "role": "owner", "joinedAt": "<string>", "logo": "<string>" } ], "meta": { "requestId": "<string>", "timestamp": "<string>" } }
Returns all organizations where the authenticated user is a member
List of organizations
true
Show child attributes
Was this page helpful?