Record a move-in, move-out or release, or correct someone on a lease
PATCH
/api/lease-occupants/{id}
const url = 'https://api.getvespy.com/api/lease-occupants/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = { method: 'PATCH', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"fullName":"example","moveInDate":"2026-04-15","moveOutDate":"2026-04-15","notes":"example","relationship":"example","releasedOn":"2026-04-15"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://api.getvespy.com/api/lease-occupants/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "fullName": "example", "moveInDate": "2026-04-15", "moveOutDate": "2026-04-15", "notes": "example", "relationship": "example", "releasedOn": "2026-04-15" }'Moving a co-tenant out does not release them from liability; set releasedOn for that. The primary tenant cannot be moved out while the lease is draft or active.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string format: uuid
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
fullName
Occupants only; a co-tenant’s name is their tenant record’s.
string
moveInDate
string format: date
moveOutDate
string format: date
notes
string
relationship
string
releasedOn
Co-tenants only: the day they were released from liability for the rent.
string format: date
Examplegenerated
{ "fullName": "example", "moveInDate": "2026-04-15", "moveOutDate": "2026-04-15", "notes": "example", "relationship": "example", "releasedOn": "2026-04-15"}Responses
Section titled “Responses”Default Response
Media typeapplication/json
object
occupant
required
object
fullName
required
string
id
required
string format: uuid
isPrimary
required
boolean
moveInDate
required
string format: date
moveOutDate
required
string format: date
notes
required
string
providerRole
required
string
relationship
required
string
releasedOn
required
string format: date
removedAt
required
string format: date-time
role
required
string
tenantId
required
string format: uuid
tenantName
required
string
Example
{ "occupant": { "role": "co_tenant" }}Default Response
Media typeapplication/json
object
code
string
errors
Array<object>
object
code
required
string
message
required
string
path
required
string
message
required
string
Examplegenerated
{ "code": "example", "errors": [ { "code": "example", "message": "example", "path": "example" } ], "message": "example"}Default Response
Media typeapplication/json
object
code
string
errors
Array<object>
object
code
required
string
message
required
string
path
required
string
message
required
string
Examplegenerated
{ "code": "example", "errors": [ { "code": "example", "message": "example", "path": "example" } ], "message": "example"}Default Response
Media typeapplication/json
object
code
string
errors
Array<object>
object
code
required
string
message
required
string
path
required
string
message
required
string
Examplegenerated
{ "code": "example", "errors": [ { "code": "example", "message": "example", "path": "example" } ], "message": "example"}Default Response
Media typeapplication/json
object
code
string
errors
Array<object>
object
code
required
string
message
required
string
path
required
string
message
required
string
Examplegenerated
{ "code": "example", "errors": [ { "code": "example", "message": "example", "path": "example" } ], "message": "example"}Default Response
Media typeapplication/json
object
code
string
errors
Array<object>
object
code
required
string
message
required
string
path
required
string
message
required
string
Examplegenerated
{ "code": "example", "errors": [ { "code": "example", "message": "example", "path": "example" } ], "message": "example"}