The following operation is supported on this resource:

  • GET - Get all roles associated with a capability
GET /capabilities/{id}/roles Version 1

Get all roles associated with a capability.

Sample Usage

GET /capabilities/{id}/roles

  • Parameters:
    Name Type URI Type Description Required
    id int Path The ID of the capability for which roles information will be retrieved. Y
  • Sample Output XML:
    <roles size="1" uri="/api/space/user-management/capabilities/65559/roles">
      <role key="65595"

  • Sample Output JSON:
      "roles": {       "@size":"1",
          "@uri": "/api/space/user-management/capabilities/65559/roles",
              "@uri": "/api/space/user-management/capabilities/65559/roles/65595",
              "@href": "/api/space/user-management/roles/65595",

  • Access Control

    The following capabilities are required to access this API: ReadRole