Post blocklisttoggle

POST https://sandbox.hyperswitch.io/blocklist/toggle

Example — cURL

cURL
curl --request POST \
  --url https://sandbox.hyperswitch.io/blocklist/toggle \
  --header 'api-key: <api-key>'

Authorization

  • Name: api-key

  • In: header

  • Type: string

  • Required: yes

Query Parameters

  • status (boolean) — required Boolean value to enable/disable blocklist

Response

Status: 200 Content-Type: application/json

Response body:

Field:

  • blocklist_guard_status (string) — required Blocklist guard enabled/disabled