Delete a List Field
Permanently delete a custom field from a subscriber list using its list UID and field ID. This is useful for cleaning up unused or outdated fields.
๐๏ธ Delete a List Field
Delete a specific custom field from a subscriber list using its list UID and field ID. This action is permanent and cannot be undone.
๐น HTTP Request
DELETE API-URL/lists/LIST-UNIQUE-ID/fields/FIELD-ID๐ธ URL Segments
Segment
Required
Description
LIST-UNIQUE-ID
Yes
Unique identifier of the list.
FIELD-ID
Yes
Unique identifier of the list field.
๐ Authorization Header
X-API-KEY: your-api-key-here๐ป PHP Example
// Delete FIELD
$response = $endpoint->delete('LIST-UNIQUE-ID', 'FIELD-ID');
// DISPLAY RESPONSE
echo '<hr /><pre>';
print_r($response->body);
echo '</pre>';๐ฆ Sample JSON Response
โ ๏ธ Deleting a field will remove it from all list forms and subscriber records associated with this list.