Skip to content

Updates the detector version’s status

Description

Updates the detector version’s status. You can perform the following promotions or demotions using update_detector_version_status: DRAFT to ACTIVE, ACTIVE to INACTIVE, and INACTIVE to ACTIVE.

Usage

frauddetector_update_detector_version_status(detectorId,
  detectorVersionId, status)

Arguments

  • detectorId

    [required] The detector ID.

  • detectorVersionId

    [required] The detector version ID.

  • status

    [required] The new status.

    The only supported values are ACTIVE and INACTIVE

Value

An empty list.

Request syntax

svc$update_detector_version_status(
  detectorId = "string",
  detectorVersionId = "string",
  status = "DRAFT"|"ACTIVE"|"INACTIVE"
)