Provide Key 2

POST /custodian/key2

Provide key 2 to unlock the locker.

cURL
curl --request POST \
  --url https://api.example.com/custodian/key2 \
  --header 'Content-Type: application/json' \
  --data '
{
  "key": "801bb63c1bd51820acbc8ac20c674675"
}
'

Response: 200 - text/plain

"Received Key2"


Headers

  • x-tenant-id — string

Body (application/json)

Provide key 2 to unlock the locker.

  • key — string (required) Example: "801bb63c1bd51820acbc8ac20c674675"

Response examples

200 - text/plain Key 2 provided

"Received Key2"


Links:

  • Edit this page: https://github.com/juspay/hyperswitch/edit/main/api-reference/locker-api-reference/key-custodian/provide-key-2.mdx

  • Raise an issue: https://github.com/juspay/hyperswitch/issues/new?title=Issue%20on%20docs&body=Path:%20/locker-api-reference/key-custodian/provide-key-2

  • Related:

    • Provide Key 1: https://api-reference.hyperswitch.io/locker-api-reference/key-custodian/provide-key-1

    • Unlock the locker: https://api-reference.hyperswitch.io/locker-api-reference/key-custodian/unlock-the-locker