# delete_main_auth_descriptor · FT4 Rell API · Chromia Docs (concept)

> function delete_ main_ auth_ descriptor(account: account ) Deletes the main auth descriptor for the account. It does not add a new one, so it leaves
the ac

Source: https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts/delete_main_auth_descriptor/

FUNCTION

# delete\_main\_auth\_descriptor

```signature
function delete_main_auth_descriptor(account: account)
```

[Source](https://gitlab.com/chromaway/ft4-lib/-/blob/development/rell/src/lib/ft4/core/accounts/module.rell#lines-307)

Deletes the main auth descriptor for the account. It does not add a new one, so it leaves
the account prone to being inaccessible.

Using this function directly on a user account might end up leaving it misconfigured. It's
strongly advised to use `update_main_auth_descriptor` if the main auth descriptor should be
changed.

Can only be called from an operation.

Throws `"MISSING AUTH DESCRIPTOR"` if the account has no `main_auth_descriptor`
associated.

**Parameters**

* **account** — the account whose main auth descriptor should be removed

[View this page on docs.chromia.com](https://docs.chromia.com/pages/ft4-rell/-f-t4%20-library/lib.ft4.core.accounts/delete_main_auth_descriptor.html)Generated API reference, mirrored from the live docs
