BoldSales

API Documentation

Delete a company field

delete/api/v1/companies/fields/{fieldId}

This API is used to delete an existing field from a company module. The deleted field will no longer be available when adding or editing records in the BoldSales application.

Code snippet

curl -X 'DELETE' \
  'https://{yourdomain}/api/v1/companies/fields/{fieldId}' \
  -H 'accept: text/plain; x-api-version=1.0' \
  -H 'x-api-key: {your API key}'

Path parameters

fieldIdintegerRequiredThe unique identifier of the field to be deleted.

Example response

200 Success

{
  "message": "Field deleted successfully.",
  "data": {
    "id": 101
  }
}