Returns every blocked period of the vehicle, past and future. A blocked period makes the vehicle unavailable for rental between start_date and end_date, so its vehicle class has one unit less available in that window.Dates are YYYY-MM-DD HH:mm:ss in the API user's time zone (see Dates, time zones and money).An unknown vehicle_id does not return 404: it returns an empty blocked_periods list.
Request
Authorization
Basic Auth
Send your HTTP requests with an
Authorization
header that contains the word Basic followed by a space and a base64-encoded string username:password
Example:
Authorization: Basic *****************
or
Path Params
Header Params
Responses
🟢200OK
application/json
The blocked periods under the blocked_periods key. HTTP 200 is also used for failures: always check success. When it is false, the body is an ErrorUnauthorized (status_code 401 or 403).