Skip to main content
Version: 1.5.5

Admin - Get the roles of a user

GET 

/admin/get-user-roles

authorization

This API endpoint requires an API Key with at least one of the following Roles: SystemAdmin | ResourceViewer

List all the System Roles a specific user has.

Request

Query Parameters

    user_id UserIdrequired

Header Parameters

    AUTHORIZATION stringrequired

    The AUTHORIZATION header must be set to the API Key of the user. The API Key is returned when a new user is created using the /admin/create-user endpoint.

Responses

Schema

    rolesSystemRole[]required

    Possible values: [system_admin, policies_manager, resource_viewer, crypto_user, keys_manager, keys_importer, keys_exporter]