---
id: account-delete
title: "Delete an account"
description: "Deletes a specific account by its ID. This action **cannot be undone**."
sidebar_label: "Delete an account"
hide_title: true
hide_table_of_contents: true
api: eJzdVk1v3EYM/SsET4mh7m4S+6KbE7uoix6CZIME8BoGd4a7mmQ0o8xQrt2F/ntBSftlG0gvbdH6IGs1M+Tj4+OQG7ScTXKNuBiwxAv2LJyBIDds3MoZIGNiGwSWD+Akw9XFBOaVy0BGz8DJiaEQosCSoQ02Bj45mSzCIpRl6cIqLsJbXsXEYNW0C2ugrckCOOQ2MUhFAuQ9UM7ROBK2EKjm3JDhDBXdMSyZw2CD7aS3jgXGhhMpjCuLJY5my2EXFii0zlhe4/mwgDcFNpSoZuGkCxtUL1iis1igUwIakgoLTPy9dYktlpJaLh6xNK8Yri4grkAq3hEkEXaes6m4Jiw3KA+NesiSXFhj190UmNm0yclDj2DJlDidt1JheX2jy4lzE0PmrMdfz2b676n/XejwO2XIrTGc86r12BV4+uXL00PvvOMgwCnFBDsfYFtW5C7ckXcWXGhagZigdjlrtvaETbBAE4NwELVOTeOd6SFMv2Z1sXkadlx+ZSNHhF5jFpI2v4tWmerxYIE150xr7nOUNDhxAwMHu/d2XRBes547DvKX+fw9DCfARMuQuEmcOfTK02ztdG0O+XjBk/WkgNPZTB+v9PFGH6cvNWq+p7rxjOXpbNYpCUdYxtQ+hnIONZnKBf4pMVlaeh599bh6yRsSXsfk/uA8YON0xwlW5Hyb+MgzLsneKomcRVM80PYXQCyT41UBVVtT2CM52LWV8QBOzW3ZWOBbsvBhcLpA/fApUCtVD9ku8Jicw90KcZvRH4O01ukrebAs5HwGWsZW9rCO/aj8Ryp68dfkVzHVbKFnNwi5wHYn6UMFd/1fgWfPVchVEE6KYszDwMhYIBSgDXzfsNHbyeXc8v+sII6iHiVwpgVxNnutjzfH6T7792rBjYm6HTbdDpT9Y1Wx08nHAeOl7hnqQ784w/Ap0B05r1aflMmzx//Wgjk/0u4QUjSmTYntBN57pswg6QFoTS6AJ+G0rZUel1RRG+yuvfVdssTp2PqmG2c77Xp9QENnbZPHEiuRJpfTKTVuElrvG0+itToxscbDXvhRC2XQ92FH3DGhhrZ9tb8O+01YjC8/x1STYIm/fp6jYtbRQ48rnoG0V5PZZKZDgZOBlHEo6ApsYpaa+oIdB4JhDtKiH0N8nIPNvvL/a0PTyKjwvUwbTy4oBX26NmNir3EfdemsXkFVzKILm82SMn9Kvuv08/eWk84xNwXeUXKq9z771mV9t1iuyOfHA9QheS8+jBfhS/jxWPUs9PEjhQdUFL7VX1jgN34YRrvupiuwYrKcenDDwrkx3MjBkSf3t+pzp/2Ly98u55dYIB0L85EQewfPItpshh3z+I1D1+0Aiv5WjF33J0i8/Tc=
sidebar_class_name: "delete api-method"
info_path: docs/api/account
custom_edit_url: null
---

import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import ParamsDetails from "@theme/ParamsDetails";
import RequestSchema from "@theme/RequestSchema";
import StatusCodes from "@theme/StatusCodes";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
import Heading from "@theme/Heading";

<Heading
  as={"h1"}
  className={"openapi__heading"}
  children={"Delete an account"}
>
</Heading>

<MethodEndpoint
  method={"delete"}
  path={"/account/{id}"}
  context={"endpoint"}
>
  
</MethodEndpoint>



Deletes a specific account by its ID. This action **cannot be undone**.

:::info
Before deleting a account, ensure that all associated namespaces have been deleted.
:::

<Heading
  id={"request"}
  as={"h2"}
  className={"openapi-tabs__heading"}
  children={"Request"}
>
</Heading>

<ParamsDetails
  parameters={[{"name":"id","in":"path","required":true,"description":"The ID of the account to delete","schema":{"type":"string"}}]}
>
  
</ParamsDetails>

<RequestSchema
  title={"Body"}
  body={undefined}
>
  
</RequestSchema>

<StatusCodes
  id={undefined}
  label={undefined}
  responses={{"200":{"description":"The operation was successful"},"4XX":{"description":"Client error responses due to invalid input or missing parameters.","content":{"application/json":{"schema":{"type":"object","required":["statusCode","error","message"],"properties":{"statusCode":{"type":"integer","description":"HTTP status code representing the specific client error (e.g., 400, 401, 403, 404).","example":400},"code":{"type":"string","description":"A machine-readable error code that categorizes the server failure.","example":"bad_request"},"error":{"type":"string","description":"A brief, human-readable description of the error type (e.g., \"Bad Request\", \"Unauthorized\").","example":"Bad Request"},"message":{"type":"string","description":"Additional details about the error.","example":"The request was malformed or contained invalid parameters."}}}}}},"5XX":{"description":"Internal server error due to an unexpected issue.","content":{"application/json":{"schema":{"type":"object","required":["statusCode","error","message"],"properties":{"statusCode":{"type":"integer","description":"HTTP status code representing the specific server error (e.g., 500, 502, 503).","example":500},"code":{"type":"string","description":"A machine-readable error code that categorizes the server failure.","example":"internal_server_error"},"error":{"type":"string","description":"A brief, human-readable description of the error type (e.g., \"Internal Server Error\", \"Service Unavailable\").","example":"Internal Server Error"},"message":{"type":"string","description":"Additional details about the error.","example":"An unexpected error occurred. Please try again later."}}}}}}}}
>
  
</StatusCodes>


      