Delete a Subaccount
Delete a subaccount (child user) from your SenderWiz customer account.
❌ Delete a Subaccount
Remove a specific subaccount from your SenderWiz customer panel using its unique child UID.
🔹 HTTP Request
DELETE API-URL/children/CHILD-UNIQUE-ID
🔸 URL Segments
Segment
Required
Description
CHILD-UNIQUE-ID
✅
The unique identifier of the subaccount
🔐 Authorization Header
X-API-KEY: your-api-key-here
💻 PHP Example
// DELETE A SUBACCOUNT
$response = $endpoint->deleteChild('8e12c91b4a2d1');
// DISPLAY RESPONSE
echo '<hr /><pre>';
print_r($response->body);
echo '</pre>';
📦 Sample JSON Response
{
"status": "success",
"message": "Subaccount successfully deleted."
}
🧾 Notes
Deleting a subaccount is permanent.
Make sure the
CHILD-UNIQUE-ID
is valid before attempting the delete operation.
Last updated