Access
PreviewEverything a person can do, and why
One person's access in one place: their organization role, their role in each team and every
GET
cookie
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
userId*stringThe person's access.
application/json- response
userId*stringname*stringorgRole*OrgRoleValue in
"owner""admin""contributor""viewer"chips*array<>The summary under the person's name, grouped by role.
teams*array<>entries*array<>curl -X GET 'https://wardn.example.com/api/v1/members/string/access'Example Response
{ "userId": "string", "name": "string", "orgRole": "owner", "chips": [ { "roleName": "string", "places": [ { "kind": "org", "id": "string", "label": "string" } ] } ], "teams": [ { "teamId": "string", "teamName": "string", "role": "owner", "paused": true } ], "entries": [ { "roleId": "7382d58e-652a-4905-b7c9-bcca1e0e5391", "roleName": "string", "place": { "kind": "org", "id": "string", "label": "string" }, "source": { "kind": "membership", "id": "string", "label": "string" }, "designatedBy": "string", "expiresAt": "2019-08-24T14:15:22Z", "paused": true, "duty": true } ]}