v50

latestOpenAPI 3.1.0Apache 2.0raw.githubusercontent.com2026-07-068428533.0 MB
Realms

Delete a realm

Delete a Realm, and all consumers and credentials containined within the Realm.

Only empty Realms can be deleted, unless you specify ?force=true as a query string parameter in your request.

delete/v1/realms/{realmId}

Query parameters

force'true' | 'false'

If set to "true", the realm and all consumers and credentials will be deleted when running terraform destroy. If set to "false", the realm will not be deleted until all child entities are manually removed. This will IRREVERSIBLY DELETE ALL REGISTERED CONSUMERS AND THEIR CREDENTIALS. Only set to "true" if you want this behavior.

Response

success