Update Registry Configuration

Updates the package reroute configuration for the specified registry type.

Security: Requires admin role.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
enum
required

The registry/package type. One of npm, pypi, docker, huggingfaceml.

Allowed:
Body Params
string
required
length ≤ 64

The Artifactory remote repository key to use for this registry type. Required. Must reference an existing remote repository. Virtual repositories are not supported and will be rejected by the API in a future release. Maximum 64 characters. Must not be ".", "..", or "&". Must not contain any of / \ : | ? * " < >.

boolean
Defaults to true

Whether to auto-enroll the target remote repository in Curation (curated=true). Defaults to true. Set to false to skip Curation enrollment (suppresses the 422/503 Curation responses).

Responses

400

Bad Request - Unsupported package type, missing repo_key, invalid repo_key (exceeds max length or contains forbidden characters), or the referenced remote repository does not exist (the assigned repo must be an existing remote repository).

401

Bad Credentials - Authentication failed. A valid token is required.

403

Forbidden — the caller is authenticated but is not an admin, or the instance is not licensed/entitled for package reroute.

407

Proxy Authentication Required - the request must be authenticated with the proxy before the package-reroute flow can proceed.

422

Unprocessable Entity - Curation cannot be enabled for the target repository: either Curation is not enabled in Artifactory, or the package type is not supported by Curation. Only returned when linked_curation is true (the default).

503

Service Unavailable - Failed to enable Curation for the repository (repo_key). Only returned when linked_curation is true (the default).

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json