All Products
Search
Document Center

Serverless App Engine:SuspendTraffic

Last Updated:Dec 30, 2025

Removes traffic routed from Classic Load Balancer (CLB) application access, Network Load Balancer (NLB) application access, CLB gateway routes, Application Load Balancer (ALB) gateway routes, or Kubernetes (K8s) services.

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 syntax

PUT /pop/v1/sam/app/instanceTrafficSuspend HTTP/1.1

Request parameters

ParameterTypeRequiredDescriptionExample
AppIdstringNo

The application ID.

d700e680-aa4d-4ec1-afc2-6566b5ff****
InstanceIdsstringNo

The instance ID.

c-668727a8-17d86664-41e5bb******,c-668727a8-17d86664-7e4958******

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

RequestIdstring

The request ID.

B4D805CA-926D-41B1-8E63-7AD0C1ED****
Messagestring

The message returned. Valid values:

  • If the request was successful, success is returned.
  • If the request failed, an error code is returned.
success
TraceIdstring

The trace ID.

0a98a02315955564772843261e****
Dataobject

The returned data.

msgstring

The description of the returned code.

success
successboolean

Indicates whether the traffic was removed. Valid values:

  • true: The traffic was removed.
  • false: The traffic failed to be removed.
True
ErrorCodestring

The error code.

  • The ErrorCode parameter is not returned when the request succeeds.
  • The ErrorCode parameter is returned when the request fails. For more information, see Error codes in this topic.
Null
Codestring

The HTTP status code. Valid values:

  • 2xx: The request was successful.
  • 3xx: The request was redirected.
  • 4xx: The request failed.
  • 5xx: A server error occurred.
200
Successstring

Indicates whether the traffic was removed. Valid values:

  • true: The traffic was removed.
  • false: The traffic failed to be removed.
true

Examples

Sample success responses

JSONformat

{
  "RequestId": "B4D805CA-926D-41B1-8E63-7AD0C1ED****",
  "Message": "success",
  "TraceId": "0a98a02315955564772843261e****",
  "Data": {
    "msg": "success",
    "success": true
  },
  "ErrorCode": "Null",
  "Code": 200,
  "Success": true
}

Error codes

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

Change history

Change timeSummary of changesOperation
2025-12-05Add OperationView Change Details