Apache CloudStack 4.18.0.0 Root Admin API Reference

enableUser

Enables a user account

Request parameters

Parameter NameDescriptionRequired
idEnables user by user ID.true

Response Tags

Response NameDescription
idthe user ID
accountthe account name of the user
accountidthe account ID of the user
accounttypethe account type of the user
apikeythe api key of the user
createdthe date and time the user account was created
domainthe domain name of the user
domainidthe domain ID of the user
emailthe user email address
firstnamethe user firstname
iconBase64 string representation of the resource icon
is2faenabledtrue if user has two factor authentication enabled
is2famandatedtrue if user has two factor authentication is mandated
iscallerchilddomainthe boolean value representing if the updating target is in caller's child domain
isdefaulttrue if user is default, false otherwise
lastnamethe user lastname
roleidthe ID of the role
rolenamethe name of the role
roletypethe type of the role
secretkeythe secret key of the user
statethe user state
timezonethe timezone user was created in
usernamethe user name
usersourcethe source type of the user in lowercase, such as native, ldap, saml2