Evaluate a source authority contract.
POST
/api/admin/field-mapping/source-authority-contracts/evaluate
Code sample: Shell / cURL
curl --request POST \ --url https://auth.example.com/api/admin/field-mapping/source-authority-contracts/evaluate \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "sourceType": "scim", "sourceId": "workday", "fieldRef": { "path": "department" }, "authorityAction": "write" }'Evaluates whether a source is allowed to perform a specific authority action for a field reference and returns a decision with reason codes.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Header Parameters
Section titled “Header Parameters ” Idempotency-Key
string
Idempotency key for state-changing operations that support replay protection.
Request Body required
Section titled “Request Body required ” Media type application/json
object
sourceType
required
string
sourceId
required
string
fieldRef
required
object
key
additional properties
authorityAction
required
string
key
additional properties
Example
{ "sourceType": "scim", "sourceId": "workday", "fieldRef": { "path": "department" }, "authorityAction": "write"}Responses
Section titled “ Responses ”Source authority evaluation response.
Media type application/json
object
result
required
object
allowed
required
boolean
reasonCodes
required
Array<string>
key
additional properties
key
additional properties
Example generated
{ "result": { "allowed": 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"}