Skip to main content
DELETE
/
v2
/
entity-type-fields
/
{id}
Delete Entity Type Field
curl --request DELETE \
  --url https://public.api.serval.com/v2/entity-type-fields/{id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "schemaMigrationId": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

The ID of the entity type field to delete.

Query Parameters

keepOnChildren
boolean

When false (default), the field is also removed from all descendant entity types that inherit it (cascade delete). When true, the field is removed only from this entity type; direct children that inherited it are promoted to "own" it, and deeper descendants continue to inherit from those children.

Response

Success

data
data · object

Reference to the staged delete migration.