Update a specific webhook's information.

Update a specific webhook's information. Note this implementation of patch uses the JSON merge patch proposed standard. This means that any fields included in the patch request will overwrite fields which exist on the target resource. For arrays, this means any array included in the request will replace the array that exists at the specified path, it will not add to the existing array

Rate limit: 100 requests/min (learn more about rate limits here).

To use this endpoint, select Write Webhooks under the Setup & Administration category when creating or editing an API token. Learn More.

Submit Feedback: Likes, dislikes, and API feature requests should be filed as feedback in our API feedback form. If you encountered an issue or noticed inaccuracies in the API documentation, please submit a case to our support team.

Path Params
string
required

Unique identifier for the webhook to update.

Body Params
customHeaders
array of objects
length ≤ 5

The list of custom headers that users can include with their request

customHeaders
string
length ≤ 255

The name of the webhook. This will appear in both Samsara’s cloud dashboard and the API. It can be set or updated through the Samsara Dashboard or through the API at any time.

string
length ≤ 2047

The url of the webhook. This will appear in both Samsara’s cloud dashboard and the API. It can be set or updated through the Samsara Dashboard or through the API at any time.

string
enum

The version of the webhook. Valid values: 2018-01-01, 2021-06-09, 2022-09-13, 2024-02-27

Allowed:
Responses

Language
Credentials
Bearer
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json