PMT-15: Projekte löschen #11
1 changed files with 27 additions and 1 deletions
28
api/pmt.yml
28
api/pmt.yml
|
@ -51,4 +51,30 @@ paths:
|
||||||
401:
|
401:
|
||||||
$ref: "#/components/responses/UnAuthorized"
|
$ref: "#/components/responses/UnAuthorized"
|
||||||
500:
|
500:
|
||||||
$ref: "#/components/responses/InternalError"
|
$ref: "#/components/responses/InternalError"
|
||||||
|
|
||||||
|
/project/{id}:
|
||||||
|
delete:
|
||||||
|
operationId: "deleteProject"
|
||||||
|
description: "Delete a specific Project"
|
||||||
|
parameters:
|
||||||
|
- in: path
|
||||||
|
name: id
|
||||||
|
schema:
|
||||||
|
type: integer
|
||||||
|
format: int64
|
||||||
|
required: true
|
||||||
|
responses:
|
||||||
|
204:
|
||||||
|
description: "Deletes a specific Project"
|
||||||
|
401:
|
||||||
|
$ref: "#/components/responses/UnAuthorized"
|
||||||
|
404:
|
||||||
|
description: "Project not found"
|
||||||
|
content:
|
||||||
|
text/plain:
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
500:
|
||||||
|
$ref: "#/components/responses/InternalError"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue