Add authentication with BasicAuth
Activate BasicAuth authentication for webhooks.
Path parameters
-
The unique code assigned to the reservation platform.
Maximum length is
11
. Format should match the following pattern:[a-zA-Z0-9_-]+
.
Body
The basic authentication credentials that will be sent with the webhook notifications. See Basic Authentication.
-
The basic auth username.
-
The basic auth password.
PATCH /reservation/api/1/platform/{platform-code}/webhook/auth/basic-auth
curl \
-X PATCH https://api.trial.lsk.lightspeed.app/reservation/api/1/platform/MyPlatform/webhook/auth/basic-auth \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"username":"LightspeedKSeries","password":"Example-Password"}'
Request examples
{
"username": "LightspeedKSeries",
"password": "Example-Password"
}