All Products
Search
Document Center

Security Center:UpdatePublishGraySwitch

Last Updated:May 22, 2025

Modifies the settings of the canary release feature for agent upgrade. If you want to use the feature, contact technical support.

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
GraySwitchStatusintegerYes

Specifies whether to enable the canary release feature. Valid values:

  • 1: enabled.
  • 0: disabled.
1

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

231A8A81-CBB4-5AB3-A624-98A501******

Examples

Sample success responses

JSONformat

{
  "RequestId": "231A8A81-CBB4-5AB3-A624-98A501******"
}

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
No change history