Locks

The locking feature allows the block parking lot to receive new bookings.

The lock prevents starting or ending a new booking on a specific date.

Show locks

get

Show all the locks

Authorizations
AuthorizationstringRequired
Path parameters
parkingstring · uuidRequired

The parking uuid

Query parameters
viewstring · dateRequired

The date. Format: YYYY-MM-DD

Responses
200

The request has been successful

No content

get
/v1/parkings/{parking}/locks

No content

Add lock

post

Create a lock

Authorizations
AuthorizationstringRequired
Path parameters
parkingstring · uuidRequired

The parking uuid

Body
locked_atstring · dateRequired
Responses
200

The request has been successful

No content

post
/v1/parkings/{parking}/locks

No content

Delete lock

delete

Remove a lock

Authorizations
AuthorizationstringRequired
Path parameters
parkingstring · uuidRequired

The parking uuid

Body
locked_atstring · dateRequired
Responses
200

The request has been successful

No content

delete
/v1/parkings/{parking}/locks

No content

Last updated