1
0

implements HsOfficePartnerController.deletePartnerByUuid

This commit is contained in:
Michael Hoennig
2022-09-14 13:47:25 +02:00
parent 7d8d6bb495
commit 68c3375a08
3 changed files with 96 additions and 6 deletions

View File

@ -12,6 +12,7 @@ get:
schema:
type: string
format: uuid
description: UUID of the partner to fetch.
responses:
"200":
description: OK
@ -55,21 +56,21 @@ patch:
"403":
$ref: './error-responses.yaml#/components/responses/Forbidden'
delete:
tags:
- hs-office-partners
description: 'Delete a single business partner by its uuid, if permitted for the current subject.'
operationId: deletePartnerByUuid
parameters:
- $ref: './auth.yaml#/components/parameters/currentUser'
- $ref: './auth.yaml#/components/parameters/assumedRoles'
- name: userUuid
- name: partnerUUID
in: path
required: true
schema:
type: string
format: uuid
description: UUID of the user to delete.
description: UUID of the partner to delete.
responses:
"204":
description: No Content