# Delete a subaccount Delete a subaccount Endpoint: DELETE /v5/accounts/subaccounts Version: 3.0.0 Security: basicAuth ## Header parameters: - `X-Mailgun-On-Behalf-Of` (string, required) The ID of the subaccount ## Response 200 fields (application/json): - `message` (string) Response message ## Response 400 fields (application/json): - `message` (string) Response message ## Response 403 fields (application/json): - `message` (string) Response message