Reference / OIDC SSO

PATCH /v1/oidc/connections/{id}

PATCH /v1/oidc/connections/{id}
Secret API key operationId: update

Authorization

Server-to-server. Send a secret key as a Bearer token plus the x-application-id header.

Path parameters

  • id string<uuid> required

    Connection id

Request body · required

  • client_id string required
  • client_secret string

    Plaintext client secret; stored encrypted. Omit to keep the existing secret.

  • email_domain string
  • enabled boolean
  • issuer string required
  • name string required
  • scopes string[]

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 request
PATCH http://localhost:8080/v1/oidc/connections/018f3c4a-7b2e-7c1d-9e0a-1f2b3c4d5e6f

Path parameters

Request body

application/json