Skip to navigation

AddSubUser

View as Markdown

Creates a subuser.

Allowed roles: Owner.

Example request: Create a new subuser for account_id = 1.

Authentication

AuthorizationBearer

Voximplant Management API uses signed JWT tokens generated from your service-account private key. Pass the token in the Authorization header as a Bearer value:

Authorization: Bearer $VOXIMPLANT_TOKEN

See Authorization for ready-to-copy snippets in bash, Python, Node.js and Go that turn your credentials.json into a token.

Query parameters

new_subuser_namestringRequired
The new subuser login for management api authentication, should be unique within the Voximplant account. The login specified is always converted to lowercase
new_subuser_passwordstringRequired
The new subuser password. Must be at least 8 characters long and contain at least one uppercase and lowercase letter, one number, and one special character
role_idlist of integersOptional

The role id list separated by semicolons (;)

role_namelist of stringsOptional

The role name list separated by semicolons (;)

descriptionstringOptional
Description of a new subuser

Response

Successful response
resultobjectOptional

The [AddSubUser] function result.