Restaurant - Subscription
Delete multiple subscriptions (admin only)
DELETE
/restaurant/subscriptions
const url = 'https://api.inspow.tech/api/v1/restaurant/subscriptions';const options = { method: 'DELETE', headers: {'Content-Type': 'application/json'}, body: '["example"]'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://api.inspow.tech/api/v1/restaurant/subscriptions \ --header 'Content-Type: application/json' \ --data '[ "example" ]'Request Body required
Sección titulada «Request Body required » Media type application/json
Array<string>
Example generated
[ "example"]