PreviousNext

organization delete

Deletes organizations from the registry. The syntax is:

organization delete organization_name_list

The organization delete operation deletes organizations from the registry. The argument is a list of names of organizations to be deleted. If a named organization does not exist an error is generated. Returns an empty string on success.

This operation also deletes any accounts associated with organizations that are deleted. To preserve accounts, add desired principles to a different organization using the organization add -member command. Modify the principals' accounts to point to the new organization using the account modify command. Now you can delete the organization using the organization delete command.

Privileges Required
You must have d (delete) permission to the directory in which the target organization exists. You must have r (read) and D (Delete_object) permissions on the organization to be deleted.

Examples

dcecp> organization delete temps
dcecp>