Docs
Live demo
PUT/api/v2/admin/sign-in-methods/{id}
Signed-in sessionConsole session only

Change a sign-in method. An empty client_secret keeps the saved one. The type stays.

Parameters

Path1 required of 1
idstringpathrequired

Sign-in method ID, console-<name>

Request body application/json · ConsoleSignInMethodRequest

Required2 of 8 fields
typestringrequired
githubgooglemicrosoftoidcgitlabldap
namestringrequired
max length 64
Optional6 fields
client_idstring
client_secretstring
issuerstring
tenantstring
hosted_domainstring
connector_idstring

Responses

200

The sign-in method after the change

ConsoleSignInMethodResponse · 10 fields
idstringrequired
typestringrequired
githubgooglemicrosoftoidcgitlabldap
namestringrequired
client_idstring
issuerstring
tenantstring
hosted_domainstring
connector_idstring
created_atstring · date-timerequired
updated_atstring · date-timerequired
400

A field is invalid and field_errors names it, or Dex did not accept the method. Nothing changed.

401

Authentication required

503

Principal can't reach the bundled Dex. Nothing changed.

Common errors: 403 404 409 413 429 504. They mean the same for every operation, see Errors.

↑ ↓ to moveEnter to openEsc to close