All Products
Search
Document Center

Security Center:SetRegistryScanDayNum

Last Updated:May 22, 2025

Specifies a cycle to scan images for image repositories. Unit: days.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
ScanDayNumintegerYes

The cycle at which you want to scan your images. Unit: days.

1

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

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

48483161-F328-5A12-AB78-3EB81F37****

Examples

Sample success responses

JSONformat

{
  "RequestId": "48483161-F328-5A12-AB78-3EB81F37****"
}

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.