PATCH
/
v1
/
webhooks
/
{id}
curl --request PATCH \
  --url https://api.malga.io/v1/webhooks/{id} \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --header 'X-Client-Id: <api-key>' \
  --data '{
  "event": "<string>",
  "endpoint": "<string>",
  "version": 1.1,
  "status": true
}'

Authorizations

X-Client-Id
string
header
required
X-Api-Key
string
header
required

Path Parameters

id
string
required

id do webhook que deseja alterar

Body

application/json

Response

200

The record has been successfully updated.