Delete a Company Property

DELETE https://app.alaaqat.com/api/companies/properties/{_id}

Where _id is the property's _id. Deletes a property you created. Your API key needs the company-property-delete ability, and the team member who created the key needs Delete Custom Field.

Header

{
    "Accept": "application/json"
}

Response

200 OK

{
    "message": "Entity was deleted successfully.",
    "data": []
}

When a property can't be deleted

Status Meaning
403 At least one company holds a value for the property. Empty the property on every company first, for example with Update a Company and null.
404 No property you created has this _id. Built-in properties can't be deleted.