Skip to main content

Delete a lead field

DELETE 

/v1/agents/:agentId/lead-fields/:fieldKey

x-scope: "leads:write"

Removes a custom field from the agent's lead form permanently. Leads keep the values they had under its key: the API still returns them in custom_fields, the dashboard's table stops showing them, and they show again if a field with the same key is added. The AI stops collecting the field in the background, usually within a minute. Built-in fields can't be deleted (422 system_field).

Request​

Responses​

Deleted.

Response Headers
    X-Correlation-ID

    Correlation id for this request — paste into support tickets.