# Soft-delete a GA4 account by account id

Provider: Google Analytics
Final price: free
Success rate: n/a

accounts.delete — Marks target Account as soft-deleted (ie: "trashed") and returns it. This API does not have a method to restore soft-deleted accounts. However, they can be restored using the Trash Can UI. If the accounts are not restored before the expiration time, the account and all child resources (eg: Properties, GoogleAdsLinks, Streams, AccessBindings) will be permanently purged. https://su

## Parameters

- name (string, required)

## Example

```curl
curl -X DELETE 'https://toolswitch.dev/v1/tools/google-analytics.x.analyticsadmin-accounts-delete' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY"
```

[View on Toolswitch](https://toolswitch.dev/en/tools/google-analytics.x.analyticsadmin-accounts-delete)
