Skip to content
  • Auto
  • Light
  • Dark
Get Started

Update Secret

Update Secret
post/api/v1/step-up/providers/{id}/secret

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

Path Parameters
idstring

The id field.

Body Parameters
clientSecretstring
optional

The clientSecret field.

Returns
stepUpProvideridstringclientIdstringcreatedAtstringdisplayNamestringenabledbooleanissuerUrlstringlastTestedAtstringmicrosoftStepUpMicrosoftSettingsoauth2StepUpOauth2SettingsupdatedAtstringStepUpProvider
optional

The StepUpProvider message.

This message contains a oneof named settings. Only a single field of the following list may be set at a time:

  • oauth2
  • microsoft
Request example cURL
curl https://{tenantDomain}.conductor.one/api/v1/step-up/providers/$ID/secret \
    -H 'Content-Type: application/json' \
    -H "Authorization: Bearer $CONDUCTORONE_SDK_API_KEY"
200 Example
{
  "stepUpProvider": {
    "clientId": "clientId",
    "displayName": "displayName",
    "enabled": true,
    "issuerUrl": "issuerUrl",
    "microsoft": {
      "conditionalAccessIds": [
        "string"
      ],
      "tenant": "tenant"
    },
    "oauth2": {
      "acrValues": [
        "string"
      ]
    }
  }
}