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.
bodyBodyfieldStepUpProviderTestParams
Returns
StepUpProviderTestResponsestruct
The TestStepUpProviderResponse message.
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"
}