{"_id":"59de6011debd1200240f6908","category":{"_id":"59de6011debd1200240f68f8","__v":0,"project":"59de6011debd1200240f68ec","version":"59de6011debd1200240f68ee","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-02-22T07:01:46.643Z","from_sync":false,"order":6,"slug":"available-slots-management","title":"Session and Slot Management"},"parentDoc":null,"project":"59de6011debd1200240f68ec","__v":1,"user":"547504ed59fade080004cb8b","version":{"_id":"59de6011debd1200240f68ee","__v":2,"project":"59de6011debd1200240f68ec","createdAt":"2016-06-20T18:15:42.514Z","releaseDate":"2016-06-20T18:15:42.514Z","categories":["59de6011debd1200240f68fb","59de6011debd1200240f68fa","59de6011debd1200240f68fc","59de6011debd1200240f68f8","59de6011debd1200240f68f7","59de6011debd1200240f68f9","59de6011debd1200240f68fd","59de6011debd1200240f68fe","59de6011debd1200240f68ff","5a8bfb99f4146e00449cec47","5a8bfcf2e86f530012159bb2"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"2.0.0","version":"2.0"},"githubsync":"","updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-02-22T18:55:43.380Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[{"language":"curl","code":"curl -X POST -H 'Content-Type: application/json' -d '{\"api_token\":\"secret-api-token\"}' 'https://api.fountain.com/v2/booked_slots/22222222-0000-0000-0000-000000000000/cancel'"}]},"method":"post","results":{"codes":[]},"settings":"","auth":"required","params":[{"_id":"56cb59af9f4ae20b00644ee2","ref":"","in":"body","required":false,"desc":"must be passed in as URL parameter","default":"22222222-0000-0000-0000-000000000000","type":"string","name":"booked_slot"},{"_id":"56cb59af9f4ae20b00644ee1","ref":"","in":"body","required":false,"desc":"required if api-token not included in header","default":"secret-api-token","type":"string","name":"api_token"}],"url":"/booked_slots/:booked_slot_id/cancel"},"isReference":false,"order":4,"body":"This methods cancels a previously booked slot.\n\n## Response Schema\nNone","excerpt":"","slug":"cancel-booked-spot","type":"endpoint","title":"Cancel Booked Session"}

postCancel Booked Session


Definition

{{ api_url }}{{ page_api_url }}

Parameters

Body Params

booked_slot:
string22222222-0000-0000-0000-000000000000
must be passed in as URL parameter
api_token:
stringsecret-api-token
required if api-token not included in header

Examples


Documentation

This methods cancels a previously booked slot. ## Response Schema None

User Information

Try It Out

post
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}