All Products
Search
Document Center

Security Center:UpdateJenkinsImageRegistryName

Last Updated:Feb 20, 2024

Modifies the name of a Jenkins image repository.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
RegistryIdlongNo

The ID of the image repository.

Note You can call the PageImageRegistry operation to query the IDs of image repositories.
25090
RegistryNamestringNo

The name of the image repository.

a0603tk1
SourceIpstringNo

The source IP address of the request.

121.33.XXX.XXX

Response parameters

ParameterTypeDescriptionExample
object

The data returned.

Databoolean

The result of the operation. Valid values:

  • true: successful
  • false: failed
true
RequestIdstring

The ID of the request, which is used to locate and troubleshoot issues.

4347E985-6E64-467B-96EC-30D4EA9E****
HttpStatusCodeinteger

The HTTP status code returned.

200
TimeCostlong

The time consumed. Unit: seconds.

1

Examples

Sample success responses

JSONformat

{
  "Data": true,
  "RequestId": "4347E985-6E64-467B-96EC-30D4EA9E****",
  "HttpStatusCode": 200,
  "TimeCost": 1
}

Error codes

HTTP status codeError codeError messageDescription
400NoPermissionno permission-
403NoPermissioncaller has no permissionYou are not authorized to do this operation.
500ServerErrorServerError-

For a list of error codes, visit the Service error codes.