## Delete a specific account `client.Accounts.Delete(ctx, body) (*AccountDeleteResponse, error)` **delete** `/accounts/{account_id}` Delete a specific account (only available for tenant admins at this time). This is a permanent operation that will delete any zones or other resources under the account ### Parameters - `body AccountDeleteParams` - `AccountID param.Field[string]` The account ID of the account to be deleted ### Returns - `type AccountDeleteResponse struct{…}` - `ID string` Identifier ### Example ```go package main import ( "context" "fmt" "github.com/cloudflare/cloudflare-go" "github.com/cloudflare/cloudflare-go/accounts" "github.com/cloudflare/cloudflare-go/option" ) func main() { client := cloudflare.NewClient( option.WithAPIKey("144c9defac04969c7bfad8efaa8ea194"), option.WithAPIEmail("user@example.com"), ) account, err := client.Accounts.Delete(context.TODO(), accounts.AccountDeleteParams{ AccountID: cloudflare.F("account_id"), }) if err != nil { panic(err.Error()) } fmt.Printf("%+v\n", account.ID) } ``` #### Response ```json { "errors": [ { "code": 1000, "message": "message", "documentation_url": "documentation_url", "source": { "pointer": "pointer" } } ], "messages": [ { "code": 1000, "message": "message", "documentation_url": "documentation_url", "source": { "pointer": "pointer" } } ], "success": true, "result": { "id": "023e105f4ecef8ad9ca31a8372d0c353" } } ```