Cancel a tenancy
Cancels a tenancy, optionally scheduling the cancellation for a future date. By default, associated subscriptions are also cancelled and a credit note is generated for any prepaid period.
Authorizations
API Key authentication. Use "Bearer YOUR_API_KEY".
Path Parameters
The id identifier.
Body
How to terminate the tenancy: cancel or complete.
cancel, complete Schedule the cancellation for a future date. If null or in the past, the tenancy is cancelled immediately.
The reason for cancelling the tenancy.
requested_by_customer, tenant_replacement, eviction, arrears, early_termination, application_revision, renewal, other A detailed description of the cancellation reason.
Whether to cancel the subscriptions associated with the tenancy.
The subscription data hash. This will be passed to the subscription cancel flow.
Response
Returns the cancelled tenancy.
Unique identifier for the object.
Time at which the object was created. Measured in seconds since the Unix epoch.
tenancy ID of the building where this tenancy is located.
Snapshot of building data at the time of tenancy creation.
Scheduled date for tenancy cancellation. Measured in seconds since the Unix epoch.
Date and time when the tenancy was actually cancelled. Measured in seconds since the Unix epoch.
The customers for the tenancy.
Contractual end date of the tenancy period. Measured in seconds since the Unix epoch.
Contractual start date of the tenancy period. Measured in seconds since the Unix epoch.
Current status of the tenancy.
active, canceled, complete, pending The type of the tenancy.
active_tenancy, let_only, renewal, standard ID of the specific unit within the building being rented.
Snapshot of unit data at the time of tenancy creation.
The account that the object belongs to. Only returned if the request is made with a valid Yorlet-Context header.
Only returned if the object has been deleted.
ID of the user assigned to manage this tenancy.
Reason code for tenancy cancellation.
Detailed description of why the tenancy was cancelled.
Physical address specified in the tenancy contract.
Currency code for all monetary amounts in this tenancy.
gbp, usd, eur, sek "gbp"
The customer emails for the tenancy.
Deposit information and amounts for the tenancy.
The end behavior for the tenancy.
roll, complete, null Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
The date the tenant is expected to move in.
The date the tenant is expected to move out.
ID of the renewal intent record if the tenancy has one.
The tenancy review details.
Subscription-related data for recurring tenancy payments.