Delete a field rule
delete
/v1/field-rules/{root}/{field_key}Deletes a field rule by root + field key.
Requires a bearer token: Authorization: Bearer <token>.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
| root | string | Yes | Root. |
| field_key | string | Yes | FieldKey.e.g. FieldKey |
Request
cURL
curl -X DELETE https://api.wellapp.ai/v1/field-rules/{root}/{field_key} \
-H "Authorization: Bearer $WELL_API_TOKEN"Responses
204 — Deleted.
401 — Unauthorized.
{
"code": "UNAUTHORIZED",
"status": 401,
"title": "Unauthorized",
"message": "See title.",
"meta": {
"trace_id": "a1b2c3",
"log_id": "a1b2c3"
}
}