For AI agents: the complete documentation index is at llms.txt. Every page is also available as markdown by appending .md to its URL, or by sending an Accept: text/markdown request header.

ALTER SERVICE ACCOUNT ENABLE reference

Enterprise:

RBAC provides fine-grained database permissions management.

ALTER SERVICE ACCOUNT ... ENABLE turns a disabled service account back on.


Syntax​

ALTER SERVICE ACCOUNT serviceAccountName ENABLE;

Description​

The service account can authenticate and be assumed again, with the permissions and tokens it had before it was disabled.

A service account is enabled when created, so this is only needed after DISABLE.

Examples​

ALTER SERVICE ACCOUNT client_app ENABLE;

Verify with SHOW SERVICE ACCOUNTS, which reports true in its enabled column.

See also​