Locks
The locking feature allows the block parking lot to receive new bookings.
Show locks
get
Show all the locks
Authorizations
Path parameters
parkingstring · uuidRequired
The parking uuid
Query parameters
viewstring · dateRequired
The date. Format: YYYY-MM-DD
Responses
200
The request has been successful
401
The request is unauthorized
403
The request is forbiden
422
The request cannot be processed
get
GET /v1/parkings/{parking}/locks?view=2025-06-25 HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
No content
Add lock
post
Create a lock
Authorizations
Path parameters
parkingstring · uuidRequired
The parking uuid
Body
locked_atstring · dateRequired
Responses
200
The request has been successful
401
The request is unauthorized
403
The request is forbiden
422
The request cannot be processed
post
POST /v1/parkings/{parking}/locks HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 26
{
"locked_at": "2025-06-25"
}
No content
Delete lock
delete
Remove a lock
Authorizations
Path parameters
parkingstring · uuidRequired
The parking uuid
Body
locked_atstring · dateRequired
Responses
200
The request has been successful
401
The request is unauthorized
403
The request is forbiden
422
The request cannot be processed
delete
DELETE /v1/parkings/{parking}/locks HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 26
{
"locked_at": "2025-06-25"
}
No content
Last updated