All Products
Search
Document Center

Security Center:ModifyImageRegistry

Last Updated:Feb 20, 2024

Modifies the transfer time of an 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
IdlongNo

The ID of the image repository. You can call the listImageRegistry operation to query the ID of the image repository.

390103286
UserNamestringNo

The username.

xxxx
PasswordstringNo

The password.

********************
TransPerHourintegerNo

The number of images that are scanned per hour.

10

Response parameters

ParameterTypeDescriptionExample
object

PlainResult

Dataany

N/A

N/A
Successboolean

Indicates whether the request was successful. Valid values:

  • true
  • false
true
Codestring

The HTTP status code.

200
Messagestring

The returned message.

success
RequestIdstring

The request ID.

379a9b8f-107b-4630-9e95-2299a1ea****
HttpStatusCodeinteger

The HTTP status code.

200
TimeCostlong

The execution duration.

1

Examples

Sample success responses

JSONformat

{
  "Data": "N/A",
  "Success": true,
  "Code": "200",
  "Message": "success",
  "RequestId": "379a9b8f-107b-4630-9e95-2299a1ea****",
  "HttpStatusCode": 200,
  "TimeCost": 1
}

Error codes

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

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

Change history

Change timeSummary of changesOperation
2023-11-17The internal configuration of the API is changed, but the call is not affectedsee changesets
Change itemChange content
The internal configuration of the API is changed, but the call is not affected.