Files
sendico/interface/api/recipients/update.yaml
Stephan D 7d6d7c3f56 docs fix
2026-02-27 01:29:57 +01:00

32 lines
1.1 KiB
YAML

put:
tags: [Recipients]
summary: Update recipient
description: Updates recipient fields from request payload.
operationId: recipientsUpdate
security:
- bearerAuth: []
requestBody:
$ref: ./bodies/recipient.yaml#/components/requestBodies/RecipientBody
responses:
'200':
description: Recipient updated
content:
application/json:
schema:
allOf:
- $ref: ../response/response.yaml#/components/schemas/BaseResponse
- type: object
properties:
data:
$ref: ./response/recipient.yaml#/components/schemas/RecipientsAuthData
'400':
$ref: ../response/operation.yaml#/components/responses/BadRequest
'401':
$ref: ../response/operation.yaml#/components/responses/Unauthorized
'403':
$ref: ../response/operation.yaml#/components/responses/Forbidden
'404':
$ref: ../response/operation.yaml#/components/responses/NotFound
'500':
$ref: ../response/operation.yaml#/components/responses/InternalServerError