Menu
Create Clients Authz Resource Server Policy Evaluate By Client Uuid
Create clients authz resource server policy evaluate by client uuid
POST
/admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/policy/evaluateUse it in a workflow
- Add a step and choose the Keycloak connector.
- Pick the Create Clients Authz Resource Server Policy Evaluate By Client Uuid action (under Keycloak Admin REST API).
- Fill in the fields below, then reference the result from later steps as
{{createClientsAuthzResourceServerPolicyEvaluateByClientUuid.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"context": {},
"resources": [
{
"_id": "string",
"name": "string",
"uris": [
"string"
],
"type": "string",
"scopes": [
{
"id": "string",
"name": "string",
"iconUri": "string",
"policies": [
{
"type": null,
"description": null
}
],
"resources": [
{}
],
"displayName": "string"
}
],
"icon_uri": "string",
"owner": {},
"ownerManagedAccess": false,
"displayName": "string",
"attributes": {},
"uri": "string",
"scopesUma": [
{
"id": "string",
"name": "string",
"iconUri": "string",
"policies": [
{
"type": null,
"description": null
}
],
"resources": [
{}
],
"displayName": "string"
}
]
}
],
"resourceType": "string",
"clientId": "string",
"userId": "string",
"roleIds": [
"string"
],
"entitlements": false
}
Response
Returns 200 with an object. Read it in later steps with {{createClientsAuthzResourceServerPolicyEvaluateByClientUuid.response.data.<field>}}.
{
"results": [
{
"resource": {
"_id": "string",
"name": "string",
"uris": [
"string"
],
"type": "string",
"scopes": [
{
"id": "string",
"name": "string",
"iconUri": "string",
"policies": [
null
],
"resources": [
null
],
"displayName": "string"
}
],
"icon_uri": "string",
"owner": {},
"ownerManagedAccess": false,
"displayName": "string",
"attributes": {},
"uri": "string",
"scopesUma": [
{
"id": "string",
"name": "string",
"iconUri": "string",
"policies": [
null
],
"resources": [
null
],
"displayName": "string"
}
]
},
"scopes": [
{
"id": "string",
"name": "string",
"iconUri": "string",
"policies": [
{
"type": null,
"description": null
}
],
"resources": [
{}
],
"displayName": "string"
}
],
"policies": [
{
"policy": {
"type": null,
"description": null
},
"status": "PERMIT",
"associatedPolicies": [
{}
],
"scopes": [
"string"
],
"resourceType": "string"
}
],
"status": "PERMIT",
"allowedScopes": [
{
"id": "string",
"name": "string",
"iconUri": "string",
"policies": [
{
"type": null,
"description": null
}
],
"resources": [
{}
],
"displayName": "string"
}
],
"deniedScopes": [
{
"id": "string",
"name": "string",
"iconUri": "string",
"policies": [
{
"type": null,
"description": null
}
],
"resources": [
{}
],
"displayName": "string"
}
]
}
],
"entitlements": false,
"status": "PERMIT",
"rpt": {
"jti": "string",
"exp": 0,
"nbf": 0,
"iat": 0,
"iss": "string",
"sub": "string",
"typ": "string",
"azp": "string",
"otherClaims": {},
"nonce": "string",
"auth_time": 0,
"sid": "string"
}
}
Need more? See the Keycloak guide for connection setup and behaviour shared by every action.
Was this page helpful?