GET/api/me/organizationsAuthenticated

List my organization memberships

Lists the organizations the caller belongs to with their role in each (platform administrators also see their virtual admin membership of the owner organization). Answers with CORS headers so client applications may call it cross-origin with a bearer access token.

operationId get_api_me_organizationsAccount

Authentication & permissionsAuthenticated

Any authenticated user

Accepted credentials
Who may call
Any authenticated user

Responses

application/json
PropertyTypeDescription
success*true
message*string
data*object
memberships*OrganizationMembershipRoleDetails[]
organization_id*string

minLength: 4maxLength: 32pattern: ^[a-z][a-z0-9_-]+$

organization_name*string

minLength: 1maxLength: 64pattern: ^[a-zA-Z0-9]([a-zA-Z0-9 _-]*[a-zA-Z0-9])?$

role*string
created_at*integer

minimum: 0

joined_at*integer

minimum: 0

JSONExample
"success"true
"message""string"
"data"
"memberships"

Example request

bashcurl
curl -X GET 'https://auth.schemavaults.com/api/me/organizations' \
  -b 'refresh_token_<auth_server_app_id>=<value>'