API ReferenceAdmin Oidc Apps
Update Oidc App
PATCH
/v1/admin/oidc-apps/{client_id}Authorization
HTTPBearer AuthorizationBearer <token>
In: header
Path Parameters
client_id*Client Id
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Mutable knobs surfaced through PATCH /v1/admin/oidc-apps/{id}.
Every field is optional so the SPA can flip just one toggle without re-sending the whole row. Fields that aren't included are left untouched.
client_type is intentionally absent — it's immutable post-creation
(delete + recreate to switch, since the two types are different
security models, not a property toggle). The route handler rejects
any attempt to PATCH client_type with invalid_request.
Response Body
application/json
application/json
curl -X PATCH "https://example.com/v1/admin/oidc-apps/string" \ -H "Content-Type: application/json" \ -d '{}'{ "client_id": "string", "name": "string", "allowed_redirect_uris": [ "string" ], "post_logout_redirect_uris": [ "string" ], "client_type": "confidential", "billing_model": "workforce", "require_pkce": true, "allow_signup": true, "signup_group_id": "ff47fb4a-8bed-4084-996e-a273d2ed9d1b", "allowed_email_origins": [ "string" ], "terms_url": "string", "privacy_url": "string", "scopes": [ "string" ], "client_metadata": {}, "claim_map": { "property1": "string", "property2": "string" }, "token_endpoint_auth_method": "client_secret_post", "jwks": {}, "jwks_uri": "string", "backchannel_token_delivery_mode": "poll", "backchannel_client_notification_endpoint": "string", "id_token_lifetime_seconds": 0, "refresh_token_idle_lifetime_enabled": true, "refresh_token_idle_lifetime_seconds": 0, "refresh_token_max_lifetime_enabled": true, "refresh_token_max_lifetime_seconds": 0, "allow_refresh_token_rotation": true, "refresh_token_rotation_overlap_seconds": 0, "created_at": "2019-08-24T14:15:22Z", "revoked_at": "2019-08-24T14:15:22Z", "primary_color": "string", "accent_color": "string"}{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string", "input": null, "ctx": {} } ]}