Skip to navigation

GetKeyRoles

View as Markdown

Gets roles of the specified key.

Example request: Get roles of the key.

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

key_idstringRequired
The key's ID
with_expanded_rolesbooleanOptional
Whether to show the roles' additional properties

Response

Successful response
resultlist of objectsOptional