Distributed Message Service RabbitMQ

Instance Restart

2024-06-27 06:52:51

Interface Protocol

Interface

https://[endpoint].ctapi.ctyun.cn/v1/instances/restart

Request Method

POST

Request Parameters

Required or Not

Parameter Type

Description

prodInstId 

Yes

String

Instance id

Response Parameter

Parameter Type

Description

statusCode

String

The status code of the interface on the system layer.   Success: 800; failure: 900.

message

String

Status Description

returnObj

String

Return the object. The parameters included in this   parameter are described in the comments in Response Examples.

Sample Request

`POST https://[endpoint].ctapi.ctyun.cn/v1/instances/restart`

Return Example

(1) Example of successful response

{

  "statusCode": "800",

  "message": "restart successful",

  "returnObj": "return data"

}

(2) Example of failed response

{

    "returnObj": {},

    "message": null,

    "statusCode": "900"

}



3RPzeLgMaxWU