cURL
curl --request GET \ --url https://str.keroshospitality.com/api/v1/apartment-owners/{id} \ --header 'Authorization: Bearer <token>'
{ "apartmentOwner": { "id": 42, "name": "John Doe", "taxisUsername": "keros", "createdAt": "2025-01-01T12:00:00Z", "updatedAt": "2025-01-01T12:00:00Z" }, "requestId": "a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890" }
Get apartment owner by Taxis username.
admin, str-uploader
admin
str-uploader
JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"
Taxis username
Apartment owner retrieved successfully
Show child attributes
42
"John Doe"
"keros"
"2025-01-01T12:00:00Z"
"a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890"