SetSubUserRoles
Adds the specified roles for a subuser.
Allowed roles: Owner.
Example request: Add the roles 1, 2, 3 to the subuser with id = 12.
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](/api-reference/management-api/authorization) for ready-to-copy snippets in bash, Python, Node.js and Go that turn your `credentials.json` into a token.
Query parameters
subuser_id
The subuser's ID
role_id
The role id list separated by semicolons (;)
role_name
The role name list separated by semicolons (;)
Response
Successful response
result