simulator

update a registered webhook

Changed on
put/simulator/webhooks/{subscriptionId}

Request

  • Base URL
    http://localhost:8086
  • URL
    http://localhost:8086/simulator/webhooks/{subscriptionId}
  • Auth
    HTTP bearer

Path parameters

subscriptionIdstring required

Subscription ID of the webhook to update

Request body

webhooksstring[] required
notificationUrlstring uri required

Example request

{
  "webhooks": [
    "automation_level_changed",
    "driver_changed",
    "journey_begin",
    "journey_end",
    "location_changed",
    "ignition_changed",
    "harsh_acceleration",
    "harsh_braking"
  ],
  "notificationUrl": "https://myserver/endpoint"
}

Response

Webhook updated

Changes

    • info

      added the non-success response with the status

    • info

      added the new automation_level_changed enum value to the request property /

    • info

      added the new driver_changed enum value to the request property /