33 lines
1.1 KiB
YAML
33 lines
1.1 KiB
YAML
put:
|
|
tags: [Callbacks]
|
|
summary: Update callback subscription
|
|
description: Updates callback subscription fields.
|
|
operationId: callbacksUpdate
|
|
security:
|
|
- bearerAuth: []
|
|
requestBody:
|
|
$ref: ./bodies/callback.yaml#/components/requestBodies/CallbackBody
|
|
responses:
|
|
'200':
|
|
description: Callback updated
|
|
content:
|
|
application/json:
|
|
schema:
|
|
allOf:
|
|
- $ref: ../response/response.yaml#/components/schemas/BaseResponse
|
|
- type: object
|
|
properties:
|
|
data:
|
|
$ref: ./response/callback.yaml#/components/schemas/CallbacksAuthData
|
|
'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
|
|
|