Skip to main content
PATCH
/
api
/
v1
/
webhooks
/
signature-key
ToggleWebhookSignatureKeyActivation
curl --request PATCH \
  --url https://your-sift-api-url.com/api/v1/webhooks/signature-key \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "enable": true
}'
{
  "signatureKey": {
    "signatureKey": "<string>",
    "active": true,
    "createdDate": "2023-11-07T05:31:56Z",
    "modifiedDate": "2023-11-07T05:31:56Z",
    "createdByUserId": "<string>",
    "modifiedByUserId": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

The request for a call to WebhookService_ToggleWebhookSignatureKeyActivation to enable or disable the current webhook signature key. Set enable to true to activate the signature key, and false to deactivate.

enable
boolean
required

Response

A successful response.

The response for a call to WebhookService_ToggleWebhookSignatureKeyActivation.

signatureKey
object
required