Kong Identity Directories
Delete a Directory
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}
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