Organizations

Remove Organization

Removes an organization, deleting all data stored with the organization.

This requires an administrator privilege.

If the force parameter is false, removal will fail if there is still data stored with the organization. This prevents accidental deletion.

var orgID string // set your orgID here
ok, err := RemoveOrganization(orgID)
if err != nil {
fmt.Printf("Could not Remove Organization: %v", err)
os.Exit(1)
}
fmt.Println("Removed Organization successfully.")

This can only be called by an administrator of the organization.