Delete a Customer
Delete an existing customer profile using SenderWiz Admin API safely by first setting their status to 'Pending delete'.
๐๏ธ Delete a Customer
Remove a customer and all associated data permanently.
This operation set the customer's status is set to Pending delete. Cleanup job removes data permanently in next scheduled run.
๐น HTTP Request
DELETE ADMIN-API-URL/customers/CUSTOMER-UID๐ธ URL Segments
Segment
Type
Required
Description
CUSTOMER-UID
string
Yes
Unique identifier of the customer to update
๐ Authorization Header
X-ADMIN-API-KEY: your-admin-api-key-here
โ ๏ธ Important Note
The delete operation changes the customer's status to Pending Delete, allowing the daily cleanup process to permanently remove the customer profile along with all associated data.
๐ป PHP Example
// DELETE CUSTOMER
$response = $endpoint->delete('ab382plq98zr7');
// DISPLAY RESPONSE
echo '<hr /><pre>';
print_r($response->body);
echo '</pre>';๐ฆ Sample JSON Response
Last updated