32 lines
1.3 KiB
YAML
32 lines
1.3 KiB
YAML
post:
|
|
tags: [Callbacks]
|
|
summary: Rotate callback signing material
|
|
description: Rotates the active signing material for the callback. HMAC callbacks generate and return a new shared secret once. `jws_eddsa_ed25519` callbacks generate a new Ed25519 keypair, expose the new active verification JWK on normal callback reads, and keep retiring verification keys visible for 24 hours.
|
|
operationId: callbacksRotateSecret
|
|
security:
|
|
- bearerAuth: []
|
|
parameters:
|
|
- $ref: ../parameters/callbacks_ref.yaml#/components/parameters/CallbacksRef
|
|
responses:
|
|
'200':
|
|
description: Callback signing material rotated
|
|
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
|