Existing Element Deletion in Artifactory YAML
Delete Artifactory configuration elements by setting the key to null or ~ in the YAML configuration file.
You can also configure the YAML file to delete elements — such as clearing a value for an existing field or removing an existing repository — using the following format.
key: null
Or
key: ~
For example:
Deleting a repository
localRepositories:
docker-local: null
localRepositories:
docker-local: ~Deleting a field
remoteRepositories:
docker-remote:
description: null
notes: null
proxy: nullNote
You can only set repository element values (except the
Typefield) to null for string data types. For other parameters, specify the corresponding data type.
Updated 24 days ago
