Files
sendico/interface/api/organizations/root.yaml
Stephan D 7d6d7c3f56 docs fix
2026-02-27 01:29:57 +01:00

28 lines
959 B
YAML

get:
tags: [Organizations]
summary: List organizations of current account
description: Returns organizations the authenticated account can access.
operationId: organizationsList
security:
- bearerAuth: []
responses:
'200':
description: Organizations list
content:
application/json:
schema:
allOf:
- $ref: ../response/response.yaml#/components/schemas/BaseResponse
- type: object
properties:
data:
$ref: ./response/organization.yaml#/components/schemas/OrganizationsAuthData
'400':
$ref: ../response/operation.yaml#/components/responses/BadRequest
'401':
$ref: ../response/operation.yaml#/components/responses/Unauthorized
'404':
$ref: ../response/operation.yaml#/components/responses/NotFound
'500':
$ref: ../response/operation.yaml#/components/responses/InternalServerError