patch
https://api.superwise.ai/v1/destinations/
Update a specific destination by ID
- base_destination_update (DestinationUpdateBase): The payload containing the update data for the destination, which includes:
- name (str): The updated name of the destination.
- params (dict): A dictionary containing key-value pairs for parameters to be updated.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Updates a destination's name or params, and returns the updated destination.
When to use it
Use it to change where alerts go, for example a new webhook URL or recipient list, without editing the policies that use the destination.
Required parameters
destination_id(path): the ID of the destination.
Optional body fields: name, params.
Response
A successful call returns 200 OK with the DestinationResponse object: id, name, integration_id, integration_type, params, and timestamps.
Related: Get a destination, Test a destination, Delete a destination
404Not Found
500Internal Server Error