Update a Trusted Registry

Updates the display name and the trusted and supported flags for one hostname. The hostname comes from the path and cannot be changed with this call.

Call this on the Runtime service path https://<JPD_HOST>/runtime/api/v1/trusted_registries/{registryUrl}. registryUrl is the hostname exactly as stored, and the lookup is case-sensitive.

Requires a Runtime Manager, which is a platform admin or a Project Admin on the default project. Other callers receive 403.

Send name, trusted, and supported. Omitting one returns 500.

Images from a host with trusted set to false are marked Untrusted registry, and Xray results for those images are hidden. trusted set to true and supported set to false skips the digest check. Both set to true compares the Artifactory manifest digest with the running image. Runtime rechecks an image that is already running at most every 5 minutes by default.

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

Registry hostname exactly as stored. The lookup is case-sensitive. Example: cgr.dev or docker.corp.example.com.

Body Params
string
required

Display name for the registry.

boolean
required

Set to true to treat images from this registry as trusted.

boolean
required

Set to true to run Artifactory integrity checks against this registry. Set to false for an external or mirror host.

Responses

500

name, trusted, or supported was omitted from the request body.

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