Delete or Update Session Through API
Create a new API rule (similarly to https://lbvr.net/knowledge-base/reading-leaderboard-through-api/) or edit an existing one and assign the “customers” permission.
HTTP POST Request:
- http://api.lbvr.net/data/sessions/<API_KEY>/<ACTION>/<SESSION_UUID>
Example:
- http://api.lbvr.net/data/sessions/11111111-1111-1111-1111-111111111111/update/22222222-2222-2222-2222-222222222222
- http://api.lbvr.net/data/sessions/11111111-1111-1111-1111-111111111111/delete/22222222-2222-2222-2222-222222222222
ACTION= update OR delete
Update HTTP POST PARAMETERS:
- date=2030-01-01 — mandatory — specify new date for the session
- time=15:30 — mandatory — specify new time
- duration=60 — optional — specify new duration
- people=2 — optional — specify the number of involved stations
- experience=1 — optional — specify the experience type id
Note — there are no HTTP POST parameters for the “delete” action.