|
|
@@ -0,0 +1,36 @@
|
|
|
+operationId: homeDelete
|
|
|
+summary: Delete
|
|
|
+security:
|
|
|
+ - UserAuth: []
|
|
|
+description: Delete a home
|
|
|
+tags: [Home]
|
|
|
+parameters:
|
|
|
+ - name: home_id
|
|
|
+ in: path
|
|
|
+ description: ID of home to delete
|
|
|
+ required: true
|
|
|
+ schema:
|
|
|
+ type: string
|
|
|
+ format: uuid
|
|
|
+ example: 019e1332-66c2-7b41-a77c-17df2e2eae78
|
|
|
+
|
|
|
+responses:
|
|
|
+ "200":
|
|
|
+ description: "Home 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"
|