Skip to main content
Version: v5.6.1

opschain admin service-accounts enable

Included from Basic tier

opschain admin service-accounts enable <username>

Re-enables a disabled service account: its automations' firings resolve again on their next due evaluation — nothing needs re-pointing. The verb rides the shared v2 UserService.EnableUser lifecycle lane (admin-gated, step-up floor) with the provider pinned to service_account.

opschain admin service-accounts enable deploy-bot
Enabled deploy-bot (provider service_account)

-o json|yaml prints the updated user document.

Flags​

FlagMeaning
--server <url>Server base URL (default: the active context / OPSCHAIN_SERVER).
--auth-token <token>Admin bearer token override (default: your opschain login session, then $OPSCHAIN_ADMIN_TOKEN, then the token stored by opschain admin login).

Exit codes: 0 on success, 1 when the service account does not exist or the token is rejected, 2 for the connection usage errors.

See also​

  • opschain docs cli/admin-service-accounts-disable — the inverse.