webhook

Update a webhook

Update an existing webhook.

put/apps/{app-id}/webhooks/{webhook-id}

Request

  • Base URL
    https://webhook-portal.home.mendix.com/api/v1
  • Auth
    none declared

Request body

namestring required
urlstring required
eventTypesstring[] required
isActiveboolean required
validationSecretstring required

Example request

{
  "url": "https://some.domain.com/webhooks",
  "eventTypes": [
    "teamserver.push"
  ],
  "validationSecret": "PMJhiGo1nTL6wlNyZVFh5v9rLZdcLsG2O",
  "headers": [
    {
      "key": "Authorization",
      "value": "Beaerer DG4R4GT6R43"
    }
  ]
}

Response

Accepted

idstring required

The unique Id of a webhook

namestring required
urlstring required
eventTypesstring[] required
isActiveboolean required
validationSecretstring required

Example response

{
  "id": "mxep_mfiHo9gZw6RcGisubUfhyfuCllim5q",
  "url": "https://some.domain.com/webhooks",
  "eventTypes": [
    "teamserver.push"
  ],
  "headers": [
    {
      "key": "Authorization",
      "value": "Beaerer DG4R4GT6R43"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.