POST /api/management/stop/groupId/serviceId
Description
Stop a Running API Gateway instance
This method works synchronously so it will block until the APIGateway stops with success or it fails.
Parameters
Name | Optional | Description |
---|---|---|
groupId | mandatory | Topology Group Identifier. |
serviceId | mandatory | Topology Service Identifier. |
Result Codes
Result Code | Description |
---|---|
0 | Success. |
-1 | Failed. |
Example Request and Response
POST https://localhost.localdomain:8090/api/management/stop/group-2/instance-1
Success
{
"result": "0"
}
Failed
{
"result": "-1",
"errors":[{ "code":601,"message":"Service does not exist" },
{ "code":602,"message":"Group does not exist" }]
}