delete.yaml 784 B

123456789101112131415161718192021222324252627282930313233343536
  1. operationId: homeDelete
  2. summary: Delete
  3. security:
  4. - UserAuth: []
  5. description: Delete a home
  6. tags: [Home]
  7. parameters:
  8. - name: home_id
  9. in: path
  10. description: ID of home to delete
  11. required: true
  12. schema:
  13. type: string
  14. format: uuid
  15. example: 019e1332-66c2-7b41-a77c-17df2e2eae78
  16. responses:
  17. "200":
  18. description: "Home deleted (always returns '{success: true}')"
  19. content:
  20. application/json:
  21. schema:
  22. type: object
  23. properties:
  24. success:
  25. type: boolean
  26. "400":
  27. $ref: "#/components/responses/400"
  28. "401":
  29. $ref: "#/components/responses/401"
  30. "403":
  31. $ref: "#/components/responses/403"
  32. "404":
  33. $ref: "#/components/responses/404"
  34. "500":
  35. $ref: "#/components/responses/500"