| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- operationId: deviceDelete
- summary: Delete
- security:
- - UserAuth: []
- description: Delete a device
- tags: [Device]
- parameters:
- - name: home_id
- in: path
- description: ID of home the device belongs to
- required: true
- schema:
- type: string
- format: uuid
- example: 019e18e4-be63-7edc-8a9c-f11dfc0abe29
- - name: device_id
- in: path
- description: ID of the device to delete
- required: true
- schema:
- type: string
- format: uuid
- example: 019e18e5-66f7-7e23-b18e-42a3489798c6
- responses:
- "200":
- description: "Device deleted (always returns '{success: true}')"
- content:
- application/json:
- schema:
- type: object
- properties:
- success:
- type: boolean
- "400":
- $ref: "#/components/responses/400"
- "401":
- $ref: "#/components/responses/401"
- "403":
- $ref: "#/components/responses/403"
- "404":
- $ref: "#/components/responses/404"
- "500":
- $ref: "#/components/responses/500"
|