GET/api/user/organizationsAuthenticated

List my organizations

Lists the definitions of the organizations the caller is a member of (platform administrators also get the owner organization). Organizations that fail to load are skipped and recorded server-side. GET /api/me/organizations additionally reports the caller's role in each.

operationId get_api_user_organizationsAccount

Authentication & permissionsAuthenticated

Any authenticated user

Accepted credentials
Who may call
Any authenticated user

Responses

application/json
PropertyTypeDescription
success*true
organizations*object[]
organization_id*string

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

name*string

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

created_at*number

exclusiveMinimum: 0

created_bystring (uuid) | null (uuid) | null
JSONExample
"success"true
"organizations"
"organization_id""string"
"name""string"
"created_at"1.5
"created_by""123e4567-e89b-12d3-a456-426614174000"

Example request

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