Delete Field (Raw) (with Key)
Delete Field (Raw) with Key
This API allows you to delete a field directly by its field_id, while also passing a key query parameter to specify the module/context.
Endpoint
DELETE /v2/global/field-raw/{field_id}?key={module_key}
Base URL:
https://prodnode.unizooks.com
Headers
| Key | Value | Required | Description |
|---|---|---|---|
Authorization | Bearer <JWT_TOKEN> | ✅ | Provide a valid JWT token for authentication |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
field_id | string | ✅ | Unique identifier (UUID) of the field |
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
key | string | ✅ | Module key (e.g. u2_core, customer_billing, etc.) |
Response
Success (200 OK)
{
"status": true,
"message": "Field deleted successfully"
}
Error (400 Bad Request)
{
"success": false,
"message": "Invalid field_id or key"
}
Error (401 Unauthorized)
{
"success": false,
"message": "Invalid or expired token"
}
Example (cURL)
curl --location --request DELETE 'http://127.0.0.1:4022/v2/global/field-raw/68755128-a9a9-4520-8d7d-69357233d384?key=u2_core' \
--header 'Authorization: Bearer <JWT_TOKEN>'
✅ Use this API when deleting fields from a specific module (via the key query).