/api/space/user-management/capabilities/{cid}/roles/{rid}

The following operation is supported on this resource:

  • GET - Get a single role associated with a capabilty
GET /capabilities/{cid}/roles/{rid} Version 1

Get a single role associated with a capabilty.

Sample Usage

GET /capabilities/{cid}/roles/{rid}


  • Parameters:
    Name Type URI Type Description Required
    cid int Path The ID of the capability for which information will be retrieved. Y
    rid int Path The ID of the role for which information will be retrieved. Y
  • Sample Output XML:
    <role key="65595"
       uri="/api/space/user-management/capabilities/65559/roles/65595"
       href="/api/space/user-management/roles/65595">
        <name>userAdmin</name>
        <title>User Administrator</title>
      </role>

  • Sample Output JSON:
    {
      "role": {
          "@key":"65595",
          "@uri": "/api/space/user-management/capabilities/65559/roles/65595",
          "@href": "/api/space/user-management/roles/65595",
          "name":"userAdmin",
          "title":"User Administrator"
      }
    }

  • Access Control

    The following capabilities are required to access this API: ReadRole