PATCH /v1/oidc/connections/{id}
PATCH
Secret API key operationId: update/v1/oidc/connections/{id} Authorization
Server-to-server. Send a secret key as a Bearer token plus the x-application-id header.
Path parameters
idstring<uuid> requiredConnection id
Request body · required
client_idstring requiredclient_secretstringPlaintext client secret; stored encrypted. Omit to keep the existing secret.
email_domainstringenabledbooleanissuerstring requirednamestring requiredscopesstring[]
Responses
200 Updated
{
"data": {
"client_id": "string",
"created_at": "2026-01-15T09:30:00Z",
"email_domain": "string",
"enabled": false,
"has_secret": false,
"id": "018f3c4a-7b2e-7c1d-9e0a-1f2b3c4d5e6f",
"issuer": "string",
"login_url": "string",
"name": "string",
"redirect_uri": "string",
"scopes": [
"string"
]
},
"error": {
"code": "string",
"message": "string"
},
"meta": {
"timestamp": "string"
},
"success": false
} 404 Not found
Request
curl -X PATCH "http://localhost:8080/v1/oidc/connections/018f3c4a-7b2e-7c1d-9e0a-1f2b3c4d5e6f" \
-H "Content-Type: application/json" \
-d '{
"client_id": "string",
"client_secret": "string",
"email_domain": "string",
"enabled": false,
"issuer": "https://example.okta.com",
"name": "Okta",
"scopes": [
"string"
]
}'Try it
live requestPATCH
http://localhost:8080/v1/oidc/connections/018f3c4a-7b2e-7c1d-9e0a-1f2b3c4d5e6f