Skip to main content

List the resources in the scope of a role

GET 

/api/v1/RolesRole/:roleId/SearchResources

Returns the resources, resource groups and secret vaults that are in the scope of a role, as a page of results that you can filter and sort.

Permission required: Administrator role.

Values for entityType: 0 = Resource, 1 = ResourceGroup, 2 = SecretVault.

Request​

Responses​

Returns a page of results in data, with the total number of matching rows in recordsTotal.