Select the tab
ESET Connect – Table of Contents

Identity


Note

Currently, you cannot revoke a role directly via an API call. Use one of the following methods to revoke a role as a workaround:

Execute the DELETE /v2/roles/{roleName} API call to delete the role you want to revoke. This operation automatically removes the role from all assigned subjects. If you need to revoke a role from specific subjects only, delete the role, then create a new role and assign it to the required subjects.

Log in to your ESET PROTECT Web Console and revoke the role by editing it under More > Permission Sets.

Browse the methods below or in Table of Contents.

Permissions

Method

Path

Summary

GET

/v2/permissions

List permissions

IdentityProvider

Method

Path

Summary

GET

/v2/role-assignments

List roles

POST

/v2/role-assignments:assignRole

Assign role

Roles

Method

Path

Summary

POST

/v2/roles

Create role

DELETE

/v2/roles/{roleName}

Delete role