circle-checkupdate_label_validation

imerit_ango.sdk.SDK.

update_label_validation(project_id, custom_validation_enabled, validation_function, external_validation)

Updates the label validation settings of your project.

Parameters

  • project_id: string

  • custom_validation_enabled: bool, Optional, default None

    • Enables or disables custom label validation logic for the project.

  • validation_function: string, Optional, default None

    • A Javascript source code string that defines the custom label validation logic executed by the platform.

  • external_validation: dict, Optional, default None

    • Configuration for delegating validation to an external system or service.

Returns:

  • output: dict

    • A dictionary containing the result of the operation.

    • Including a status field indicating whether the request was successful and a data field containing the response payload with updated resources produced by the operation.

Example

circle-info

See also

get_project

Last updated