`DELETE /v1/org/oidc` — remove the organization BYO-OIDC config. CLEANUP is allowed without the `sso_oidc_byo` entitlement (only `authorize_admin`): an org whose subscription lapsed must still be able to remove its config — and, via the domains, release its globally-unique verified domain claims so other orgs are not permanently blocked.
DELETE
/api/v1/org/oidc
const url = 'https://example.com/api/v1/org/oidc';const options = {method: 'DELETE'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://example.com/api/v1/org/oidcResponses
Section titled “Responses”Media typeapplication/json
{"deleted": true} — a delete acknowledgement. deleted is false only when
the row was already gone (a few idempotent deletes report the affected-rows count
as a boolean).
object
deleted
required
Whether a row was deleted.
boolean
Examplegenerated
{ "deleted": true}