Skip to main content
POST
https://api.owem.com.br
/
v4
/
i
/
webhooks
/
config
/
{configId}
/
deactivate
Deactivate Webhook
curl --request POST \
  --url https://api.owem.com.br/v4/i/webhooks/config/{configId}/deactivate \
  --header 'Authorization: <authorization>'
{
  "requestId": "3983f0e3-f6b6-43e6-8103-4d03e593aafb",
  "success": true,
  "size": 1,
  "data": {
    "message": "Webhook config desativada com sucesso"
  }
}

Purpose

Deactivates an active webhook configuration. When deactivated, the webhook stops receiving events from the Owem API until it is manually reactivated.

Authentication

Authorization
string
required
Basic Auth required in format: Basic {Base64(API_KEY:API_SECRET)}

Path Parameters

configId
string
required
Unique identifier of the webhook configuration to be deactivated

Response

requestId
string
UUID for tracking
success
boolean
Operation status
size
number
Number of returned items
data
object
{
  "requestId": "3983f0e3-f6b6-43e6-8103-4d03e593aafb",
  "success": true,
  "size": 1,
  "data": {
    "message": "Webhook config desativada com sucesso"
  }
}

Status Codes

HTTPDescription
200Webhook deactivated
401Invalid credentials
403IP not allowlisted
404Configuration not found
500Internal error
Prefer deactivating instead of deleting to maintain audit history and facilitate future reactivation.