Skip to main content

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​

Successful Response