Skip to main content

Delete Property

Soft-delete a property. Values already stored on contacts are preserved in contact.properties, but the schema entry is removed and the key will no longer be surfaced through this API.

Endpoint

DELETE /properties/:id

Returns: 200 OK

Path Parameters

ParameterTypeDescription
idstringThe property ID

Response

{
"message": "Property deleted"
}

Examples

curl -X DELETE "https://api.arsel.sa/v1/properties/01957e3a-4b5c-7d8e-9f0a-1b2c3d4e5f6a" \
-H "Authorization: Bearer be_your_api_key"

Error Responses

{
"status_code": 404,
"name": "not_found",
"message": "Property with id \"...\" not found"
}