← Home Delete Property

Delete Property

DELETEhttps://api.bayut.com/v1/properties/{property_id}

This endpoint is used to delete given property.

🔐 Bearer Token: Provide your bearer token in the Authorization header when making requests to protected resources.
Query Parameters
NameTypeRequiredDescriptionExample
property_idstringOptional12570745
portalsarray[string]Optional
messagestringOptional
Responses
200
404⚠️
401⚠️
403⚠️
Code Examples
curl --location --request DELETE 'https://api.bayut.com/v1/properties/12570745' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
    "portals": [
        "bayut",
        "dubizzle"
    ]
}'
{
    "message": "Property deleted successfully!"
}