Skip to main content

Validate Connector Rule

POST 

/connector-rules/validate

experimental

This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.

Returns a list of issues within the code to fix, if any. A token with ORG_ADMIN authority is required to call this API.

Request

Header Parameters

    X-SailPoint-Experimental stringrequired

    Default value: true

    Use this header to enable this experimental API.

    Example: true

Body

required

The code to validate

    version stringrequired

    the version of the code

    script stringrequired

    The code

Responses

The status of the code's eligibility as a connector rule

Schema

    state stringrequired

    Possible values: [OK, ERROR]

    details

    object[]

    required

  • Array [

  • line integerrequired

    The line number where the issue occurred

    column integerrequired

    the column number where the issue occurred

    messsage string

    a description of the issue in the code

  • ]

Loading...