public ResponseEntity verifyChannelAddress()

in src/main/java/com/epam/digital/data/platform/settings/api/controller/SettingsController.java [102:109]


  public ResponseEntity<VerificationCodeExpirationDto> verifyChannelAddress(
          @PathVariable("channel") Channel channel,
          @RequestBody @Valid VerificationInputDto input,
          @Parameter(hidden = true) @RequestHeader("X-Access-Token") String accessToken) {
    log.info("Channel verification is called");
    var response = channelVerificationService.sendVerificationCode(channel, input, accessToken);
    return ResponseEntity.status(HttpStatus.ACCEPTED).body(response);
  }