ALTER SERVICE ACCOUNT DISABLE reference
Enterprise:
RBAC provides fine-grained database permissions management.
ALTER SERVICE ACCOUNT ... DISABLE turns off a service account without deleting
it.
Syntax
ALTER SERVICE ACCOUNT serviceAccountName DISABLE;
Description
A disabled service account keeps its permissions and tokens; it simply cannot authenticate, and cannot be assumed, until it is enabled again.
To remove one permanently instead, use
DROP SERVICE ACCOUNT.
Examples
ALTER SERVICE ACCOUNT client_app DISABLE;
Verify with
SHOW SERVICE ACCOUNTS, which
reports false in its enabled column.