Delete a custom field by name to remove it from all contacts using the AutoSend API.
curl --request DELETE \
--url https://api.autosend.com/v1/custom-fields/fieldName/planTier \
--header 'Authorization: Bearer <token>'
{
"success": true,
"message": "Custom field deleted successfully"
}
curl --request DELETE \
--url https://api.autosend.com/v1/custom-fields/fieldName/planTier \
--header 'Authorization: Bearer <token>'
{
"success": true,
"message": "Custom field deleted successfully"
}
<token>, where <token> is your auth token.fieldName of the custom field to delete.Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The fieldName of the custom field to delete.
"planTier"
curl --request DELETE \
--url https://api.autosend.com/v1/custom-fields/fieldName/planTier \
--header 'Authorization: Bearer <token>'
{
"success": true,
"message": "Custom field deleted successfully"
}