Entitlements Check

Is Entitled To Permission

Check whether a given user is entitled to the requested permission

post/v1/data/e10s/permissions/is_entitled_to_input_permission

Request

Request body

Example request

{
  "input": {
    "subjectContext": {
      "userId": "6c2ce177-66cd-4163-a012-b7833255a490",
      "tenantId": "f21ca66c-d23b-496f-b805-121ed37eb46a",
      "permissions": [
        "example.permission.read",
        "example.permission.write"
      ],
      "attributes": {
        "exampleAttribute": "example-value"
      }
    },
    "requestContext": {
      "permissionKey": "example.permission.read"
    }
  }
}

Response

decision_idstring required
metricsobject required

Example response

{
  "decision_id": "df5dae62-be02-4333-bbe1-f7220e13c6c3",
  "result": {
    "justification": "MISSING_FEATURE"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.