Chaitin Tech software/uninstall/instance/{instance_id}/action/remove API

软件分发与卸载/uninstall 接口/实例/instance_id 参数/操作/移除

OpenAPI Specification

chaitin-software-uninstall-instance-instance-id-action-remove-api-openapi.yml Raw ↑
openapi: 3.0.3
info:
  title: APISec Management account software/uninstall/instance/{instance_id}/action/remove API
  version: '26.05'
  description: Generated from APISec skyview APIView classes.
tags:
- name: software/uninstall/instance/{instance_id}/action/remove
  description: 软件分发与卸载/uninstall 接口/实例/instance_id 参数/操作/移除
paths:
  /software/uninstall/instance/{instance_id}/action/remove:
    post:
      summary: 实例删除
      deprecated: false
      description: ''
      tags:
      - software/uninstall/instance/{instance_id}/action/remove
      parameters:
      - name: instance_id
        in: path
        description: ''
        required: true
        example: 4ae53d70-798c-49ba-8cd7-fbb42056169e
        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: Accept
        in: header
        description: ''
        required: true
        example: application/json
        schema:
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                  msg:
                    type: string
                  data:
                    type: object
                    properties:
                      display_status:
                        type: string
                      uid:
                        type: string
                      id:
                        type: integer
                      status:
                        type: string
                      company_id:
                        type: string
                      uninstall_source_list:
                        type: array
                        items:
                          type: object
                          properties:
                            display_name:
                              type: string
                            uid:
                              type: string
                            id:
                              type: integer
                            company_id:
                              type: string
                            registry_id:
                              type: string
                            create_by_id:
                              type: 'null'
                            update_by_id:
                              type: 'null'
                            pkg_id:
                              type: 'null'
                            update_time:
                              type: string
                            family:
                              type: 'null'
                            uninstall_command:
                              type: string
                            bundle_id:
                              type: 'null'
                            create_time:
                              type: string
                          required:
                          - display_name
                          - uid
                          - id
                          - company_id
                          - registry_id
                          - create_by_id
                          - update_by_id
                          - pkg_id
                          - update_time
                          - family
                          - uninstall_command
                          - bundle_id
                          - create_time
                      update_by_id:
                        type: string
                      create_by_id:
                        type: string
                      name:
                        type: string
                      scope:
                        type: string
                      update_time:
                        type: string
                      create_time:
                        type: string
                      binding_config:
                        type: object
                        properties:
                          include:
                            type: object
                            properties:
                              devices:
                                type: array
                                items:
                                  type: object
                                  properties:
                                    uid:
                                      type: string
                                    name:
                                      type: string
                                    code:
                                      type: string
                                  required:
                                  - uid
                                  - name
                                  - code
                              device_tags:
                                type: array
                                items:
                                  type: object
                                  properties:
                                    uid:
                                      type: string
                                    name:
                                      type: string
                                  required:
                                  - uid
                                  - name
                              staffs:
                                type: array
                                items:
                                  type: object
                                  properties:
                                    uid:
                                      type: string
                                    name:
                                      type: string
                                  required:
                                  - uid
                                  - name
                              staff_tags:
                                type: array
                                items:
                                  type: object
                                  properties:
                                    uid:
                                      type: string
                                    name:
                                      type: string
                                  required:
                                  - uid
                                  - name
                              depts:
                                type: array
                                items:
                                  type: object
                                  properties:
                                    uid:
                                      type: string
                                    name:
                                      type: string
                                  required:
                                  - uid
                                  - name
                            required:
                            - devices
                            - device_tags
                            - staffs
                            - staff_tags
                            - depts
                          exclude:
                            type: object
                            properties:
                              depts:
                                type: array
                                items:
                                  type: object
                                  properties:
                                    uid:
                                      type: string
                                    name:
                                      type: string
                                  required:
                                  - uid
                                  - name
                              staffs:
                                type: array
                                items:
                                  type: object
                                  properties:
                                    uid:
                                      type: string
                                    name:
                                      type: string
                                  required:
                                  - uid
                                  - name
                              staff_tags:
                                type: array
                                items:
                                  type: object
                                  properties:
                                    uid:
                                      type: string
                                    name:
                                      type: string
                                  required:
                                  - uid
                                  - name
                              devices:
                                type: array
                                items:
                                  type: object
                                  properties:
                                    uid:
                                      type: string
                                    name:
                                      type: string
                                    code:
                                      type: string
                                  required:
                                  - uid
                                  - name
                                  - code
                              device_tags:
                                type: array
                                items:
                                  type: object
                                  properties:
                                    uid:
                                      type: string
                                    name:
                                      type: string
                                  required:
                                  - uid
                                  - name
                            required:
                            - depts
                            - staffs
                            - staff_tags
                            - devices
                            - device_tags
                        required:
                        - include
                        - exclude
                    required:
                    - display_status
                    - uid
                    - id
                    - status
                    - company_id
                    - uninstall_source_list
                    - update_by_id
                    - create_by_id
                    - name
                    - scope
                    - update_time
                    - create_time
                    - binding_config
                required:
                - code
                - msg
                - data
              example:
                code: 5781
                msg: string
                data:
                  display_status: string
                  uid: string
                  id: 7626
                  status: string
                  company_id: string
                  uninstall_source_list:
                  - display_name: string
                    uid: string
                    id: 2441
                    company_id: string
                    registry_id: string
                    create_by_id: null
                    update_by_id: null
                    pkg_id: null
                    update_time: string
                    family: null
                    uninstall_command: string
                    bundle_id: null
                    create_time: string
                  - display_name: string
                    uid: string
                    id: 8797
                    company_id: string
                    registry_id: string
                    create_by_id: null
                    update_by_id: null
                    pkg_id: null
                    update_time: string
                    family: null
                    uninstall_command: string
                    bundle_id: null
                    create_time: string
                  update_by_id: string
                  create_by_id: string
                  name: string
                  scope: string
                  update_time: string
                  create_time: string
                  binding_config:
                    include:
                      devices:
                      - uid: string
                        name: string
                        code: string
                      - uid: string
                        name: string
                        code: string
                      device_tags:
                      - uid: string
                        name: string
                      - uid: string
                        name: string
                      staffs:
                      - uid: string
                        name: string
                      - uid: string
                        name: string
                      staff_tags:
                      - uid: string
                        name: string
                      - uid: string
                        name: string
                      depts:
                      - uid: string
                        name: string
                      - uid: string
                        name: string
                    exclude:
                      depts:
                      - uid: string
                        name: string
                      - uid: string
                        name: string
                      staffs:
                      - uid: string
                        name: string
                      - uid: string
                        name: string
                      staff_tags:
                      - uid: string
                        name: string
                      - uid: string
                        name: string
                      devices:
                      - uid: string
                        name: string
                        code: string
                      - uid: string
                        name: string
                        code: string
                      device_tags:
                      - uid: string
                        name: string
                      - uid: string
                        name: string
      security: []