Create Connector Rule

POST {{baseUrl}}/connector-rules

Creates a new connector rule. A token with ORG_ADMIN authority is required to call this API.

Request Body

{"name"=>"WebServiceBeforeOperationRule", "type"=>"BuildMap", "sourceCode"=>{"version"=>"1.0", "script"=>"return \"Mr. \" + firstName;"}, "description"=>"This rule does that", "signature"=>{"input"=>[{"name"=>"firstName", "description"=>"the first name of the identity", "type"=>"String"}, {"name"=>"firstName", "description"=>"the first name of the identity", "type"=>"String"}], "output"=>{"name"=>"firstName", "description"=>"the first name of the identity", "type"=>"String"}}}

HEADERS

KeyDatatypeRequiredDescription
X-SailPoint-Experimentalboolean(Required) Use this header to enable this experimental API.
Content-Typestring
Acceptstring

RESPONSES

status: Created

{"created":"021-07-22T15:59:23Z","id":"8113d48c0b914f17b4c6072d4dcb9dfe","name":"WebServiceBeforeOperationRule","sourceCode":{"version":"1.0","script":"return \"Mr. \" + firstName;"},"type":"BuildMap","description":"This rule does that","signature":{"input":[{"name":"firstName","description":"the first name of the identity","type":"String"},{"name":"firstName","description":"the first name of the identity","type":"String"}],"output":{"name":"firstName","description":"the first name of the identity","type":"String"}},"attributes":{},"modified":"021-07-22T15:59:23Z"}