POST   assign_repository_profile_to_checks

Associate the repository profile with the checks

Remarks


Returns HTTP 200 when all checks are associated successfully. OR when Some checks were associated successfully, but the following checks were invalid.

Returns HTTP 400 if the input is invalid OR repository profile not found OR checkIds are invalid.

Request example and description

curl --request POST "https://api-asm1.apica.io/v3/assign_repository_profile_to_checks?auth_ticket=C471ADC4-19B4-4219-BBF4-671A97EC653E" --header "Content-Type: application/json" --data-raw "{
  \"ResourceSourceId\": 1,
  \"CheckIds\": [
    1,
    2,
    3
  ]
}"