/api/space/user-management/roles/{role-id}/capabilities/{capability-id} (v1)

The following operations are supported on this resource:

  • GET - Get a single capability belonging to a role
GET /roles/{role-id}/capabilities/{capability-id}
(Deprecated)
Version 1

Get a single capability belonging to a role.

Sample Usage

GET /roles/{role-id}/capabilities/{capability-id}


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

  • Sample Output JSON:
    {
      "capability": {
            "@key":"65558",
            "@uri": "/api/space/user-management/roles/65593/capabilities/65558",
            "@href": "/api/space/user-management/capabilities/65558",
            "name":"SuperCop",
            "title":"All Capabilities"
      }
    }

  • Access Control

    The following capabilities are required to access this API: DefaultRead

      For the current version of this API, refer to :
    • version 3