GET
/api/organizationsAdminList every organization
Platform administrators only. Users list their own memberships with GET /api/me/organizations.
operationId
get_api_organizationsOrganizationsAuthentication & permissionsAdmin
Platform administrators only
- Accepted credentials
- Auth server session (refresh token cookie)
cookie "refresh_token_<auth_server_app_id>" - Access token (cookie)
cookie "access_token_<auth_server_app_id>" - Access token (Bearer)
Authorization: Bearer <JWT>
- Auth server session (refresh token cookie)
- Who may call
- Platform administrators only
Responses
application/json
| Property | Type | Description |
|---|---|---|
| success* | true | |
| message* | string | |
| data* | object | |
| 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_by | string (uuid) | null (uuid) | null |
JSONExample
"success"true
"message""string"
"data"
"organizations"
Example request
bashcurl
curl -X GET 'https://auth.schemavaults.com/api/organizations' \
-b 'refresh_token_<auth_server_app_id>=<value>'