Description: Updates an existing repository configuration in Artifactory with the provided configuration elements. Supported by local, remote, virtual, and Federated repositories.
Since: 2.3.0
Notes:
Supported JFrog Subscriptions:
- Local, remote, and virtual repositories require a Pro subscription.
- Federated repositories are supported from Artifactory 7.18.3 and require an Enterprise or Enterprise+ subscription.
To enable CDN Distribution on the repository, set the
cdnRedirect
flag on the repository. Applies to Artifactory Cloud and requires an Enterprise or Enterprise+ license.The class of a repository the
rclass
attribute cannot be updated.
Security: Requires an admin user
Usage: POST /artifactory/api/repositories/{repoKey} -H "Content-Type: application/json"
Sample Usage:
POST /artifactory/api/repositories/libs-release-local -H "Content-Type: application/json" { repository-config.json }