Update a Webhook

Purpose: Use this API to update an existing Webhook.

📘

NOTE

To update a Webhook, you must pass the following parameters in the request body:

  • URL
  • Secret
  • Format
  • Actions
  • Enabled

Refer to the Body Parameters section for more info.

Response Parameters

id

  • Type: Integer
  • Description: The unique identifier for the Webhook.

url

  • Type: String
  • Description: The URL to which the Webhook sends data.

secret

  • Type: String
  • Description: A secret key used for Webhook authentication.

format

  • Type: String
  • Description: The format of the Webhook data (e.g., json).

actions

  • Type: Array of Strings
  • Description: The list of actions that trigger the Webhook.

enabled

  • Type: Boolean
  • Description: Indicates whether the Webhook is enabled.

Path Params
int32
required

Specify the ID of the Webhook that you want to update.

Body Params
string

Specify the URL of the Webhook endpoint.

string

Specify the shared secret that will be used to fetch the data. NOTE: Must be 20 characters. If left blank, will be generated automatically.

string

Payload format for the webhook (only json is supported at this time).

actions
array of strings

Specify a list of actions that will be supported by the Webhook.

actions
boolean

Specify if you want to activate this Webhook. Set TRUE to activate. Set FALSE to disable.

Headers
string

Specify the timezone for formatting the timestamps.

boolean

Specify if you want to use the Metric units or the Imperial units. TRUE: Metric units. FALSE: Imperial Units

int32

Specify the ID of the Fleet Admin or the Fleet Manager who is accessing this endpoint.

Responses

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