Cosmic Admin API Reference

addVpnUser

Adds vpn users

Request parameters

Parameter NameDescriptionRequired
passwordpassword for the usernametrue
usernameusername for the vpn usertrue
accountan optional account for the vpn user. Must be used with domainId.false
domainidan optional domainId for the vpn user. If the account parameter is used, domainId must also be used.false
projectidadd vpn user to the specific projectfalse

Response Tags

Response NameDescription
idthe vpn userID
accountthe account of the remote access vpn
domainthe domain name of the account of the remote access vpn
domainidthe domain id of the account of the remote access vpn
projectthe project name of the vpn
projectidthe project id of the vpn
statethe state of the Vpn User
usernamethe username of the vpn user