Skip to content

List all configured federated claims

Request

OAuth 2.0 scope:
  • okta.apps.read

Lists all federated claims for your app

Path
appIdstringrequired

Application ID

Example:0oafxqCAJWWGELFTYASJ
curl -i -X GET \
  https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/federated-claims

Responses

OK

Bodyapplication/json
Array [
createdstringread-only

Timestamp when the federated claim was created

Example:"2024-02-29T20:08:24.000Z"
expressionstring

The Okta Expression Language expression to be evaluated at runtime

Example:"appuser.entitlements.role"
idstringread-only

The unique ID of the federated claim

Example:"ofc2f4zrZbs8nUa7p0g4"
lastUpdatedstringread-only

Timestamp when the federated claim was updated

Example:"2023-02-21T20:08:24.000Z"
namestring

The name of the claim to be used in the produced token

Example:"roleg"
]
Response
[ { "id": "ofc893fbjaBaqdtoX0g7", "name": "role", "expression": "appuser.entitlements.role", "created": "2024-12-25T03:00:00.000Z", "lastUpdated": "2024-12-25T03:00:00.000Z" }, { "id": "ofc893fbjaTxynmo5v93", "name": "readOnly", "expression": "appuser.entitlements.readOnly", "created": "2024-12-25T05:00:00.000Z", "lastUpdated": "2024-12-25T05:00:00.000Z" } ]