Skip to content
Dashboard
Theme
Theme

organization_not_empty

Developer and IT administrator messages for organization_not_empty.

View Markdown

Since API version 1.0.

Field Value
Type conflict
Status 409
Surfaces api
Retryable No

The organization cannot be deleted while it still has connections, directories or live API keys. param counts what is left, for example connections:0,directories:0,api_keys:1, or names the table of another record that still refers to the organization. Revoked API keys and the organization’s settings do not block the delete; they are removed with the organization.

  • The organization still has an SSO connection or a directory.
  • An API key scoped to the organization has not been revoked.
  • Another record still refers to the organization; param then names its table.
  • Read param, delete each remaining connection and directory, and revoke each live API key, then retry the delete.
  • If param names a table, remove those records first, or contact support if you cannot.
  • Ask the app’s team to remove the organization’s connections and directories first.

HTTP status 409 when only an API key is left:

{
"error": {
"type": "conflict",
"code": "organization_not_empty",
"message": "Delete the organization's API keys (revoke them) first; `param` counts what is left",
"param": "connections:0,directories:0,api_keys:1",
"doc_url": "https://docs.ohauthcat.com/errors/organization_not_empty",
"request_id": "req_01J9Z3K5V7W8X9Y0Z1A2B3C4D5"
}
}

The organization still has connections, directories or live API keys; delete or revoke them first (param lists what is left, e.g. connections:2,directories:1,api_keys:1, or names the table of another child). Revoked keys and the organization’s settings are deleted with it

This organization still has connections or directories

The hosted portal shows these machine translations, which native speakers have not reviewed yet. Placeholders and identity provider console labels stay in English.

  • de: Diese Organisation hat noch Verbindungen oder Verzeichnisse
  • es: Esta organización todavía tiene conexiones o directorios
  • fr: Cette organisation a encore des connexions ou des annuaires
  • ja: この組織にはまだ接続またはディレクトリがあります
  • pt-BR: Esta organização ainda tem conexões ou diretórios