Delete trust data Deprecated#
You must remove the trust metadata using the Notary CLI before you can delete any repositories that contain trust metadata.
-
Run the following command to initiate trust metadata deletion:
notary delete <registry-host-name>/<namespace>/<repository> --remoteNote
If you do not include the
--remoteflag, Notary deletes local cached content but does not delete data from the Notary server.Example output:
Deleting trust data for <registry-host-name>/<namespace>/<repository> Enter username: <user-name> Enter password: <password> -
When prompted by the system, enter your username and password, then press Enter to complete the delete operation.
Example output:
Successfully deleted local and remote trust data for <registry-host-name>/<namespace>/<repository>