private-registries
Update a private registry for an organization
Changed onUpdates a private registry configuration with an encrypted value for an organization. Encrypt your secret using LibSodium. For more information, see "Encrypting secrets for the REST API." For OIDC-based registries (oidc_azure, oidc_aws, oidc_jfrog, oidc_cloudsmith, or oidc_gcp), the encrypted_value and key_id fields should be omitted. For anonymous registries (anonymous), the username, encrypted_value, and key_id fields must be omitted, and auth_type cannot be changed to or from anonymous.
OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.
patch/orgs/{org}/private-registries/{secret_name}
Request
- Base URL: https://api.github.com
- URL: https://api.github.com/orgs/{org}/private-registries/{secret_name}
- Auth: none declared
Path parameters
orgstring required
The organization name. The name is not case sensitive.
secret_namestring required
The name of the secret.
Request body
Response
Response
Changes
- info
added the new
anonymousenum value to the request property
- info