Skip to content
  • Auto
  • Light
  • Dark
Get Started

Test

Test
client.StepUp.Providers.Test(ctx, id, body) (*RedirectURLstringStepUpProviderTestResponse, error)
post/api/v1/step-up/providers/{id}/test

Invokes the c1.api.stepup.v1.StepUpProviderService.Test method.

Parameters
idstring

The id field.

Hide ParametersShow Parameters
Bodyfield
optional
param.Field[any]

The TestStepUpProviderRequest message.

Returns
StepUpProviderTestResponsestruct

The TestStepUpProviderResponse message.

Hide ParametersShow Parameters
RedirectURLstring
optional

The URL to redirect the user to for testing the Step Up flow

Request example Go
package main

import (
  "context"
  "fmt"

  "github.com/stainless-sdks/-go"
  "github.com/stainless-sdks/-go/option"
)

func main() {
  client := conductoronesdk.NewClient(
    option.WithAPIKey("My API Key"),
  )
  response, err := client.StepUp.Providers.Test(
    context.TODO(),
    "id",
    conductoronesdk.StepUpProviderTestParams{

    },
  )
  if err != nil {
    panic(err.Error())
  }
  fmt.Printf("%+v\n", response.RedirectURL)
}
200 Example
{
  "redirectUrl": "redirectUrl"
}