Skip to content

Evaluate a provisioning assignment rule.

POST
/api/admin/field-mapping/provisioning-assignment-rules/{ruleId}/evaluate
Code sample: Shell / cURL
curl --request POST \
--url https://auth.example.com/api/admin/field-mapping/provisioning-assignment-rules/example/evaluate \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "subjectId": "subject_123", "attributes": { "department": "Engineering" }, "dryRun": true }'

Evaluates the selected provisioning assignment rule for a subject or account and returns the dry-run outcome, match decision, and reason codes.

ruleId
required
string
Idempotency-Key
string

Idempotency key for state-changing operations that support replay protection.

Media type application/json
object
subjectId
string
accountId
string
dryRun
boolean
key
additional properties
Example
{
"subjectId": "subject_123",
"attributes": {
"department": "Engineering"
},
"dryRun": true
}

Provisioning assignment evaluation response.

Media type application/json
object
result
required
object
matched
boolean
outcome
required
string
dryRun
required
boolean
reasonCodes
Array<string>
key
additional properties
key
additional properties
Example generated
{
"result": {
"matched": true,
"outcome": "example",
"dryRun": true,
"reasonCodes": [
"example"
]
}
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example"
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example"
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example"
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example"
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example"
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example"
}