curl --request POST \
--url http://localhost:8000/accounts/delete-account \
--header 'Authorization: Basic <encoded-value>'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Delete an account and all its associated credentials.
Args: account_name: Name of the account to delete
Returns: Success message when account is deleted
Raises: HTTPException: 400 if trying to delete master account, 404 if account not found
curl --request POST \
--url http://localhost:8000/accounts/delete-account \
--header 'Authorization: Basic <encoded-value>'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Was this page helpful?