Deleting an attribute
Use this information to delete an attribute in the directory tree.
Not all schema changes are allowed. See Disallowed schema changes for change restrictions.
Use either of the following methods to delete an attribute. The Web administration tool is the preferred method.
If you have not done so already, expand Schema management in the navigation area, then click Manage attributes. To delete an attribute:
- Click the radio button next to the attribute that you want to delete.
- Click Delete.
- You are prompted to confirm deletion of the attribute. Click OK to delete the attribute or click Cancel to return to Manage attributes without making any changes.
To delete an attribute using the command line, issue the following command:
ldapmodify -D <admindn> -w <adminpw> -i myschemadelete.ldifWhere the myschemadelete.ldif file includes:
dn: cn=schema changetype: modify delete: attributetypes attributetypes: (<myAttribute-oid>)
Parent topic:
Schema tasks