wafeq_custom_fields_destroy
Permanently delete an existing custom field that is not in use on any documents. Use this destructive endpoint to remove a custom field by its unique ID.
Instructions
๐ด DESTRUCTIVE ยท deletes ยท Custom Fields ยท DELETE /custom-fields/{id}/
Delete custom field
Endpoint for deleting an existing custom field. The custom field must not be in use on any documents.
Permanently removes the record.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "wafeq_custom_fields_destroy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | A unique value identifying this custom field. | |
| idempotency_key | No | Optional idempotency key (sent as the X-Wafeq-Idempotency-Key header). A UUID v4 is generated automatically when omitted, so an automatic network retry can never duplicate this operation. Pass your own stable value to make a deliberate re-invocation safe as well. |