Destinations
Disable Destination
Disables a previously enabled destination.
put/tenants/{tenant_id}/destinations/{destination_id}/disable
Response
Destination disabled successfully.
Example response
{
"id": "des_webhook_123",
"type": "webhook",
"topics": [
"user.created",
"order.shipped"
],
"disabled_at": null,
"created_at": "2024-02-15T10:00:00Z",
"updated_at": "2024-02-15T10:00:00Z",
"config": {
"url": "https://my-service.com/webhook/handler"
},
"credentials": {
"secret": "whsec_abc123def456",
"previous_secret": "whsec_prev789xyz012",
"previous_secret_invalid_at": "2024-02-16T10:00:00Z"
}
}Changes
Changed in 3 of the 50 revisions of this API.15
- ▲
added to the response body
oneOflist for the response statusresponse-body-one-of-added
- ○
added
kafkamapping keys to the response discriminator for the response statusresponse-body-discriminator-mapping-added
- ▲
- ○
added the media type
application/jsonfor the response with the statusresponse-media-type-added
- ○
added the non-success response with the status
response-non-success-status-added
- ○
added the non-success response with the status
response-non-success-status-added
- ○
- ○
endpoint added
endpoint-added
- ○