| Endpoint | Method | Admin Required |
|---|---|---|
/api/v1/admin/oidcProviders | PUT | Yes |
Updates an existing OIDC provider's configuration.
clientSecret is optional on edit - omit it (or send an empty string) to keep the existing secret unchanged. Send a value to rotate it.{
"id": "63717CB9-DE10-44D2-AC69-774F57F6C148",
"name": "Google Workspace",
"issuerURL": "https://accounts.google.com",
"clientId": "your-client-id",
"enabled": false
}
Returns the updated provider (without the client secret):
{
"id": "63717CB9-DE10-44D2-AC69-774F57F6C148",
"name": "Google Workspace",
"issuerURL": "https://accounts.google.com",
"clientId": "your-client-id",
"enabled": false
}
| Status | Reason |
|---|---|
400 | Validation failed (invalid UUID, empty name, issuer URL, or client ID) |
404 | Provider not found |