/tenants:
  description: pf::UnifiedApi::Controller::Tenants
  get:
    deprecated: true
    description: List items
    operationId: api.v1.Tenants.list
    parameters:
    - $ref: '#/components/parameters/cursor'
    - $ref: '#/components/parameters/limit'
    - $ref: '#/components/parameters/fields'
    - $ref: '#/components/parameters/sort'
    responses:
      '200':
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TenantsList'
        description: List
      '400':
        $ref: '#/components/responses/BadRequest'
      '422':
        $ref: '#/components/responses/UnprocessableEntity'
  post:
    deprecated: true
    description: Create an item
    operationId: api.v1.Tenants.create
    parameters: []
    requestBody:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Tenant'
      description: Create item
    responses:
      '201':
        $ref: '#/components/responses/Created'
      '400':
        $ref: '#/components/responses/BadRequest'
      '409':
        $ref: '#/components/responses/Duplicate'
      '422':
        $ref: '#/components/responses/UnprocessableEntity'