DELETE endpoint added

This commit is contained in:
2021-11-09 10:58:08 +01:00
parent 2c0198ef78
commit 46e552d034
2 changed files with 26 additions and 2 deletions

View File

@@ -1702,6 +1702,28 @@ paths:
description: "OK"
422:
description: "Object with validation errors"
delete:
tags:
- relationships
summary: "Remove the relationship"
parameters:
- name: id
in: path
required: true
description: The relationship's id
schema:
type: integer
format: integer
minimum: 1
responses:
401:
description: "Unauthorized"
404:
description: "Not found"
200:
description: "OK"
422:
description: "object with validation errors"
/1.0/relations/relation.json: