Role Owner with Application Oriented

The following are Autonomous Identity role owner with applications endpoints:

POST unscoredEntitlements

NOTE: This endpoint has been deprecated in this release by the /entitlements/unscored endpoint.

Endpoint

/api/roleOwnerWithAppOriented/unscoredEntitlements

Authorization

<Bearer Token JWT-value>

Body

{
	"roleOwnerId": "supervisor"
}

Example Request

curl --location --request POST '/api/roleOwnerWithAppOriented/unscoredEntitlements' \
--header 'Content-Type: application/json' \
--data-raw '{
	"roleOwnerId": "supervisor"
}'
POST entownuserdata

NOTE: This endpoint has been deprecated in this release by the /entitlements/stats endpoint.

Endpoint

/api/roleOwnerWithAppOriented/entownuserdata

Authorization

<Bearer Token JWT-value>

Body

{
	"roleOwnerId": "elizabeth.saiz"
}

Example Request

curl --location --request POST '/api/roleOwnerWithAppOriented/entownuserdata' \
--header 'Content-Type: application/json' \
--data-raw '{
	"roleOwnerId": "26713",
	"onlyLM": "1"
}'

Example Response

{
  "roleOwner": {
    "roleOwnerId": "26713",
    "total_entitlements": 1,
    "total_subordinates": 1,
    "unscoredEntitlements": 0,
    "scoredEntitlements": 1,
    "entitlementsWithNoUser": 0,
    "entitlements": [
      {
        "app_id": "1",
        "app_name": "1",
        "entitlement": "1",
        "entitlement_name": "1",
        "high_risk": "1",
        "high": 0,
        "medium": 0,
        "low": 1,
        "avg": "0.20"
      }
    ],
    "distinctApps": [
      {
        "app_id": "1",
        "app_name": "1"
      }
    ]
  }
}
POST entownentdata

NOTE: This endpoint has been deprecated in this release by the /entitlements/stats endpoint.

Endpoint

/api/roleOwnerWithAppOriented/entownentdata

Authorization

<Bearer Token JWT-value>

Body

{
	"roleOwnerId": "elizabeth.saiz"
}

Example Request

curl --location --request POST '/api/roleOwnerWithAppOriented/entownuserdata' \
--header 'Content-Type: application/json' \
--data-raw '{
	"roleOwnerId": "26713",
	"onlyLM": "1"
}'

Example Response

{
  "roleOwner": {
    "roleOwnerId": "26713",
    "total_entitlements": 1,
    "total_subordinates": 1,
    "unscoredEntitlements": 0,
    "scoredEntitlements": 1,
    "entitlementsWithNoUser": 0,
    "entitlements": [
      {
        "app_id": "1",
        "app_name": "1",
        "entitlement": "1",
        "entitlement_name": "1",
        "high_risk": "1",
        "high": 0,
        "medium": 0,
        "low": 1,
        "avg": "0.20"
      }
    ],
    "distinctApps": [
      {
        "app_id": "1",
        "app_name": "1"
      }
    ]
  }
}