DOKK / manpages / debian 12 / git-annex / git-annex-unregisterurl.1.en
git-annex-unregisterurl(1) General Commands Manual git-annex-unregisterurl(1)

git-annex-unregisterurl - unregisters an url for a key

git annex unregisterurl [key url]

This plumbing-level command can be used to unregister urls when keys can no longer be downloaded from them.

Unregistering a key's last web url will make git-annex no longer treat content as being present in the web special remote.

Normally the key is a git-annex formatted key. However, if the key cannot be parsed as a key, and is a valid url, an URL key is constructed from the url.

In batch input mode, lines are read from stdin, and each line should contain a key and url, separated by a single space.
When in batch mode, the input is delimited by nulls instead of the usual newlines.
Enable JSON output. This is intended to be parsed by programs that use git-annex. Each line of output is a JSON object.
Messages that would normally be output to standard error are included in the json instead.
git-annex-common-options(1) can be used.

git-annex(1)

git-annex-registerurl(1)

git-annex-rmurl(1)

Joey Hess <id@joeyh.name>