Take a channel code out
post/lodging/channels/{id}/maps/remove
Take a channel code out: it no longer matches a room type or rate plan, so nothing is sent for it.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
bookings:admin- Sdk
bookings.channel.unmap- Cli
bookings channel unmap
Parameters
- idstring (uuid)requiredIn the path
Request bodyapplication/json, required
- kindstringrequiredOne of: room, rate.
- externalCodestringrequiredAt most 80 characters.
Responses
- 200application/jsonSuccess
- savedtruerequired
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring