Skip to main content
POST
You must specify either a unit_id or unit_external_ref for your lease. If the corresponding unit record does not exist, you must create it separately via the relevant unit/property endpoints.
string
default:"none"
required
The authentication token for your request

Body

object
default:"none"
required
The parameters for the lease to update or create.
[object]
default:"none"
A list of tenants to be associated with the created or updated lease.

Response

Errors

Listed below are common errors that may be returned by the endpoint, along with their corresponding status code. Status Code - 400
Missing Authorization header
Status Code - 401
Expired Authorization header bearer token value
Status Code - 401
Invalid Authorization header bearer token value
Status Code - 400 Returned if neither a unit id or a unit external reference is passed in the request body
No unit specified for the lease
Status Code - 400 Returned if a unit with the specified unit id or unit external reference could not be retrieved
Unit to use for lease not found