Destinations

Enable Destination

Enables a previously disabled destination.

put/tenants/{tenant_id}/destinations/{destination_id}/enable

Response

Destination enabled successfully.

OR
OR
OR
OR
OR
OR
OR
OR

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

  • 4e68e64777ea11See the full diff
    • added to the response body oneOf list for the response status

      response-body-one-of-added

    • added kafka mapping keys to the response discriminator for the response status

      response-body-discriminator-mapping-added

    • added the media type application/json for the response with the status

      response-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