Skip to main content
Version: 1.6.0

Admin - Remove applied roles from a user

DELETE 

/admin/remove-user-roles

authorization

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

Remove certain System Roles from a user.

Request

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.

Body

required

    rolesSystemRole[]required

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

    user_idUserIdrequired

Responses