Delete an existing element in Artifactory YAML

JFrog Installation & Setup Documentation

Content Type
Installation & Setup
ft:sourceType
Paligo

You can also configure the YAML file to delete elements, such as deleting 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: null

Note

It is only possible to set the values of repository elements (except the Type field) to null for string data types. For other parameters, you must specify the corresponding data type.