Update Provider
PUT/api/v1/auth/oidc-providers/:name
Update an OIDC provider configuration (admin only).
A secret the body omits, value and env var name alike, keeps what the provider already holds, so an update that only flips enabled does not strand a stored credential. An empty env var name clears the name and keeps the stored copy. A secret the body names an env var for and sends no value for moves onto that env var and its stored copy is deleted once the update is saved, unless the name is the one already held with nothing stored. A move onto an env var the engine does not set is refused (env_var_not_set). Any update that touches more than enabled or display_name must leave the provider passing the field rules. Both are checked before a secret is written or deleted.
Request
Responses
- 200
- 401
- 403
- 422
- default
Successful Response
No valid session: the credentials are missing, invalid or expired, or the account behind them is disabled or blocked
Refused: the session lacks the action this route checks, or its account must replace an issued password first. A SCIM route answers a refused action in the RFC 7644 error envelope
Validation Error
Problem details (RFC 9457)