Kong Identity Directories

Delete a Directory

Changed on

Deletes a directory and optionally all its associated resources (principals, keys, etc.). Use the force parameter to control deletion behavior when dependencies exist.

delete/v2/directories/{directoryId}

Request

  • Base URL
    https://global.api.konghq.com
  • Auth
    • HTTP bearer
    • or HTTP bearer
    • or HTTP bearer
    • or HTTP bearer

Path parameters

directoryId, string uuid required

ID of the directory

Query parameters

force, 'true' | 'false'

If true, delete the specified directory and all its associated resources. If false, only allow deletion if no clients, scopes or claims are associated with the auth server.

Response

Success

Changes