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

NameTypeRequiredDescription
rootstringYesRoot.
field_keystringYesFieldKey.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

204Deleted.

401Unauthorized.

{
  "code": "UNAUTHORIZED",
  "status": 401,
  "title": "Unauthorized",
  "message": "See title.",
  "meta": {
    "trace_id": "a1b2c3",
    "log_id": "a1b2c3"
  }
}