> ## Documentation Index
> Fetch the complete documentation index at: https://docs.yume.cloud/llms.txt
> Use this file to discover all available pages before exploring further.

# Get delete



## OpenAPI

````yaml /openapi/tenant.json get /v1/tenant/delete/
openapi: 3.0.3
info:
  title: Yume API — Компании
  version: 1.0.0
  description: Управление компаниями-арендаторами.
servers:
  - url: https://api.yume.cloud
    description: Production
  - url: https://api.stage.yume.cloud
    description: Stage
security: []
paths:
  /v1/tenant/delete/:
    get:
      tags:
        - delete
      summary: Get delete
      operationId: delete_retrieve
      parameters:
        - $ref: '#/components/parameters/TenantId'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TenantDeletion'
          description: ''
      security:
        - jwtAuth: []
components:
  parameters:
    TenantId:
      name: X-Tenant-Id
      in: header
      required: false
      schema:
        type: integer
      description: >-
        Компания, в контексте которой выполняется запрос — её id из `GET
        /v1/tenant/`. Пользователь должен состоять в этой компании: чужой id
        доступа к данным не даёт. Без заголовка компания определяется по домену
        запроса.
  schemas:
    TenantDeletion:
      type: object
      properties:
        id:
          type: integer
          readOnly: true
        status:
          allOf:
            - $ref: '#/components/schemas/StatusEnum'
          readOnly: true
        status_display:
          type: string
          readOnly: true
        rows:
          type: integer
          readOnly: true
        cancellable:
          type: boolean
          readOnly: true
        created_at:
          type: string
          format: date-time
          readOnly: true
          title: Создан
        scheduled_at:
          type: string
          format: date-time
          readOnly: true
          nullable: true
        started_at:
          type: string
          format: date-time
          readOnly: true
          nullable: true
        finished_at:
          type: string
          format: date-time
          readOnly: true
          nullable: true
      required:
        - cancellable
        - created_at
        - finished_at
        - id
        - rows
        - scheduled_at
        - started_at
        - status
        - status_display
    StatusEnum:
      enum:
        - pending
        - running
        - done
        - failed
        - cancelled
      type: string
      description: |-
        * `pending` - Ожидает удаления
        * `running` - Удаляется
        * `done` - Удалена
        * `failed` - Ошибка
        * `cancelled` - Отменено
  securitySchemes:
    jwtAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````