List secure resources of a role for a privilege

get

https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/roles/{roleId}/privilegeGrants/{privilegeName}/secureResources

The API returns list of secure resources of a privilege granted to a role ordered by name (ascending) by default.

Request

Path Parameters
Query Parameters
  • Minimum Value: 1
    Maximum Value: 2000
    For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. The api will return no more than the number specified as limit, but might not return that exact number.
    Default Value: 20
  • Exact Name of Secure Resource to be filtered
    Example:
    REFRESH_DOMAIN_230
  • Part of Secure Resource Name used to filter Secure Resources
    Example:
    REFRESH
  • System generated page token of a page.
  • The order of the result set with direction. Allowed sort field is name. Allowed directions are DESC and ASC
    Example:
    name:DESC
  • Sub-type of Secure Resource
    Example:
    NORMAL_JOB

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Secure Resources of the Privilege returned successfully
Body ()
Root Schema : SecureResourceCollection
Type: object
This is the representation of List of SecureResources.
Show Source
Nested Schema : items
Type: array
the SecureResource list
Show Source
Nested Schema : SecureResourceSummary
Type: object
It represents a SecureResource like Target Instance, Job Instance etc.
Show Source
Nested Schema : propagationPolicy
Type: array
Scope where the privilege is applicable to. This is applicable only for Secure Resource Type called TARGET.
Show Source
  • Allowed Values: [ "ALL", "SELF", "MEMBERS" ]
    This gives type where a privilege is applicable to which part of composite resource. - ALL means the privilege is given for composite resource and its members. - SELF means the privilege is given only for composite resource. - MEMBERS means the privilege is given only for members of composite resource.
Example:
MEMBERS

400 Response

Bad Request
Body ()
Root Schema : ErrorResponse
Type: object
Error response
Show Source

401 Response

Unauthorized
Body ()
Root Schema : ErrorResponse
Type: object
Error response
Show Source

500 Response

Internal Server Error
Body ()
Root Schema : ErrorResponse
Type: object
Error response
Show Source
Back to Top