Skip to content
Dashboard
Theme
Theme

Remove retiring client assertion keys

POST /v1/connections/{conn}/client_keys/retire: Remove retiring client assertion keys.

View Markdown

POST /v1/connections/{conn}/client_keys/retire

Deletes the retiring keys; they leave the JWKS.

Scope
connections:write
Auth
Secret key (sk_…)
Since
1.0
  • conn string Required

  • OhAuthCat-Version string

    Minor version; defaults to the environment’s pin.

Errors share one shape; see the error code catalogue.

curl -X POST \
"https://api.ohauthcat.com/v1/connections/conn_01J9Z3K5V7W8X9Y0Z1A2B3C4D5/client_keys/retire" \
-H "Authorization: Bearer $OHAUTHCAT_API_KEY"
Response 200
{
"object": "connection_client_keys",
"connection_id": "conn_01J9Z3K5V7W8X9Y0Z1A2B3C4D5",
"jwks_uri": "https://app.acme.com/callback",
"keys": [
{
"kid": "key_01J9Z3K5V7W8X9Y0Z1A2B3C4D5",
"state": "next",
"cert_pem": "example_cert_pem",
"jwk": {},
"created_at": "2026-01-15T09:30:00Z"
}
]
}