Keys
Update key
Updates the information of an existing key
put/places/{place_id}/estates/{estate_id}/keys/{key_id}
Request
- Base URL: https://api.faireplace.com/api
- URL: https://api.faireplace.com/api/places/{place_id}/estates/{estate_id}/keys/{key_id}
- Auth: HTTP bearer
Path parameters
place_idstring uuid required
place ID
estate_idstring uuid required
property ID
key_idstring uuid required
key ID
Request body
Example request
{
"key_type": "CLEF",
"security_level": "STANDARD"
}Response
Key updated successfully
Example response
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"tenant_id": "sjIXqWvUyablBYwvIuAeADRCJvGS9bTX",
"estate_id": "550e8400-e29b-41d4-a716-446655440001",
"key_type": "CLEF",
"description": "Main key for the apartment",
"brand": "Serrurier Martin",
"key_number": "KEY-001",
"quantity": 2,
"protected_code": "ABC123",
"status": "ACTIVE",
"security_level": "STANDARD",
"access_restrictions": "Access restricted to residents and authorized personnel only",
"emergency_contact": "+33 1 23 45 67 89",
"notes": "Enhanced security key",
"rendered_to": "Jean Dupont",
"rendered_by": "Marie Martin",
"rendered_at": "2024-01-20T10:30:00Z",
"expected_return_date": "2024-01-25T18:00:00Z",
"purpose": "Apartment visit",
"last_status_change_at": "2024-01-20T10:30:00Z",
"last_status_change_by": "Marie Martin",
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T10:30:00Z"
}Changes
No recorded changes to this operation across all 1 revision of this API.