Chaitin Tech device/uninstalltask API

The device/uninstalltask API from Chaitin Tech — 1 operation(s) for device/uninstalltask.

OpenAPI Specification

chaitin-device-uninstalltask-api-openapi.yml Raw ↑
openapi: 3.0.3
info:
  title: APISec Management account device/uninstalltask API
  version: '26.05'
  description: Generated from APISec skyview APIView classes.
tags:
- name: device/uninstalltask
paths:
  /device/uninstalltask:
    post:
      summary: 创建任务
      deprecated: false
      description: ''
      tags:
      - device/uninstalltask
      parameters:
      - name: priority
        in: header
        description: ''
        required: true
        example: u=1, i
        schema:
          type: string
      - name: x-cs-header-app
        in: header
        description: ''
        required: true
        example: qzh
        schema:
          type: string
      - name: x-cs-header-company
        in: header
        description: ''
        required: true
        example: eeff7c64-5070-4582-8b93-fbcc57db7771
        schema:
          type: string
      - name: x-cs-header-module
        in: header
        description: ''
        required: true
        example: desktop-management/device/uninstall
        schema:
          type: string
      - name: x-cs-header-timezone
        in: header
        description: ''
        required: true
        example: Asia/Shanghai
        schema:
          type: string
      - name: Cookie
        in: header
        description: ''
        required: true
        example: sid=Fe26.2**8381d1ad983eda74bd39868aa4ddc3ac8b6bfa06a35e41ed0ef174091df26825*jwQXwnlmCIXpJ3K9p_050Q*Gs8kDt-W-64TCWZHHsIuLcz7rrcIMuX9_ePHDz6Di4GNiDI1LXxmv9dma7VHz2WyWRkKtcxb1S2zGsg_PZhz912eyRF4Q_kWce-giTRpk5-2Y4on6xcax7Kd6J0ajxCsMiFbHEVLefVRFjQ0BBgPAeLkVW5AFyNZbb8Ul8kHIh-Ge1KiVqymF_X-dbBQgvcUgKGeG-ynmmoKhv7HiDEQCux37pEtBVnQ5_8j9GWW9PM**b8bbecfef477c572be283e959eb1e02a8124eefff971ec4c2d22d109b68f1a36*VbDaMM6B7JAaC6823vvj2KWOHJCo0wYJruEIXXv_YDA
        schema:
          type: string
      - name: X-CS-Header-App
        in: header
        description: 应用id
        required: true
        example: '{{app}}'
        schema:
          type: string
      - name: X-CS-Header-Company
        in: header
        description: 公司id
        required: true
        example: '{{company_id}}'
        schema:
          type: string
      - name: X-CS-Header-Crypt
        in: header
        description: 加密算法,请参考:https://servaltech.feishu.cn/docs/doccnQCZ2cw32uazgNSO0DFwceb
        required: true
        example: ''
        schema:
          type: string
      - name: If-None-Match
        in: header
        description: 对于支持「ETAG」的接口,将上一次请求的响应header的Etag,填入到下一次请求。若匹配,则返回304(无变更),否则会返回新版本的数据 + 新Etag
        required: true
        example: string
        schema:
          type: string
      - name: X-CS-Header-Debug
        in: header
        description: ''
        required: true
        example: '{{debug}}'
        schema:
          type: string
      - name: Accept-Language
        in: header
        description: ''
        required: true
        example: zh
        schema:
          type: string
      - name: X-Cs-Header-Timezone
        in: header
        description: ''
        required: true
        example: Asia/Shanghai
        schema:
          type: string
      - name: Content-Type
        in: header
        description: ''
        required: true
        example: application/json
        schema:
          type: string
      - name: Accept
        in: header
        description: ''
        required: true
        example: application/json
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                device_ids:
                  type: array
                  items:
                    type: string
                device_tag_ids:
                  type: array
                  items: {}
                staff_tag_ids:
                  type: array
                  items: {}
                staff_ids:
                  type: array
                  items: {}
                dept_ids:
                  type: array
                  items: {}
              required:
              - name
              - device_ids
              - device_tag_ids
              - staff_tag_ids
              - staff_ids
              - dept_ids
            example:
              name: '1'
              device_ids:
              - 1337db19-bf38-44de-8590-688c2c8b1996
              device_tag_ids: []
              staff_tag_ids: []
              staff_ids: []
              dept_ids: []
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                  msg:
                    type: string
                  data:
                    type: object
                    properties:
                      device_ids:
                        type: array
                        items:
                          type: string
                      create_time:
                        type: string
                      total_uninstall_count:
                        type: integer
                      name:
                        type: string
                      staff_ids:
                        type: array
                        items: {}
                      id:
                        type: integer
                      create_by_id:
                        type: string
                      uid:
                        type: string
                      company_id:
                        type: string
                      update_time:
                        type: string
                      update_by_id:
                        type: string
                      staff_tag_ids:
                        type: array
                        items: {}
                      dept_ids:
                        type: array
                        items: {}
                      device_tag_ids:
                        type: array
                        items: {}
                    required:
                    - device_ids
                    - create_time
                    - total_uninstall_count
                    - name
                    - staff_ids
                    - id
                    - create_by_id
                    - uid
                    - company_id
                    - update_time
                    - update_by_id
                    - staff_tag_ids
                    - dept_ids
                    - device_tag_ids
                required:
                - code
                - msg
                - data
              example:
                code: 0
                msg: 正常
                data:
                  device_ids:
                  - 1337db19-bf38-44de-8590-688c2c8b1996
                  create_time: '2025-07-03T06:28:56.189680Z'
                  total_uninstall_count: 0
                  name: '1'
                  staff_ids: []
                  id: 103
                  create_by_id: d3ec3797-079c-436f-9241-8e2bd2f9963e
                  uid: 8f9580c5-dd26-41af-a267-7c97b7b0abd9
                  company_id: eeff7c64-5070-4582-8b93-fbcc57db7771
                  update_time: '2025-07-03T06:28:56.189796Z'
                  update_by_id: d3ec3797-079c-436f-9241-8e2bd2f9963e
                  staff_tag_ids: []
                  dept_ids: []
                  device_tag_ids: []
      security: []