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

postCancel Booked Session


Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

booked_slot_id:
string22222222-0000-0000-0000-000000000000
must be passed in as URL parameter

Query Params

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 }}