Skip to main content
PUT
/
webhooks
/
{webhook_id}
Atualizar URL de Webhook
curl --request PUT \
  --url https://production.api.noodle.cx/external/webhooks/{webhook_id} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "webhook_url": "<string>",
  "active": true
}
'
{
  "id": "<string>",
  "webhook_url": "<string>",
  "active": true,
  "created_at": "<string>"
}

Authorizations

Authorization
string
header
required

Path Parameters

webhook_id
string
required

Body

application/json
webhook_url
string<uri> | null

Nova URL do webhook

Required string length: 1 - 2083
active
boolean | null

Status ativo/inativo

Response

Successful Response

id
string
required

ID único da configuração de webhook

webhook_url
string | null
required

URL do webhook

active
boolean
required

Status ativo/inativo do webhook

created_at
string
required

Data de criação