Skip to navigation

GetSubUserRoles

View as Markdown

Gets the subuser’s roles.

Allowed roles: Owner.

Example request: Get subuser’s roles.

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

subuser_idintegerRequired
The subuser's ID
with_expanded_rolesbooleanOptional
Whether to show the roles' additional properties

Response

Successful response
resultlist of objectsOptional