Delete every sessions of specified type between from <-> to.
available types : early-access, whitelist
{ "type": "early-access", "from": "2022-06-20T00:00:00.000Z", "to": "2022-06-30T00:00:00.000Z" }
curl --location --request DELETE 'https://sso.dlab.ovh/api/access/planning/assistant/delete-sessions' \ --header 'Content-Type: application/json' \ --data-raw '{ "type": "early-access", "from": "2022-06-20T00:00:00.000Z", "to": "2022-06-30T00:00:00.000Z" }'
{ "sessions": [ { "id": 4, "start": "2022-06-20T10:00:00.000Z", "end": "2022-06-20T18:00:00.000Z", "type": "early-access", "createdAt": "2022-06-22T11:19:01.000Z", "updatedAt": "2022-06-22T11:19:01.000Z" }, { "id": 5, "start": "2022-06-21T10:00:00.000Z", "end": "2022-06-21T18:00:00.000Z", "type": "early-access", "createdAt": "2022-06-22T11:19:01.000Z", "updatedAt": "2022-06-22T11:19:01.000Z" } ] }