Okta Admin Management API
/Applications
//
Create a federated claim
OAuth 2.0 scope:
- okta.apps.manage
Creates a claim that will be included in tokens produced by federation protocols (for example: OIDC id_tokens or SAML Assertions)
- https://subdomain.okta.comhttps://subdomain.okta.com/api/v1/apps/{appId}/federated-claims
curl -i -X POST \
https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/federated-claims \
-H 'Content-Type: application/json' \
-d '{
"name": "role",
"expression": "appuser.entitlements.role"
}'Created
Timestamp when the federated claim was created
Example:"2024-02-29T20:08:24.000Z"
The Okta Expression Language expression to be evaluated at runtime
Example:"appuser.entitlements.role"
Timestamp when the federated claim was updated
Example:"2023-02-21T20:08:24.000Z"
Response
{ "id": "ofc893fbjaBaqdtoX0g7", "name": "role", "expression": "appuser.entitlements.role", "created": "2024-12-25T03:00:00.000Z", "lastUpdated": "2024-12-25T03:00:00.000Z" }