...
HTTP Method: POST
Content Type: application/json
Parameters
Property | Type | Description | Required |
---|---|---|---|
| integer(int64) | configuration ID (non-negative) | required |
| string | cluster to stop (primary or standby) (possible values: 'primary' and 'standby') | required |
Code Block | ||
---|---|---|
| ||
{ "params": { "configuration_id": 1, "role": "primary" } } |
...
Content Type: application/json
Response
Property | Type | Description |
---|---|---|
| object of type | error response |
| object of type | empty result |
| boolean | response with error or not |
empty_result
Property | Type | Description |
---|---|---|
| string | response message |
error_response
Property | Type | Description |
---|---|---|
| string | error message |
Code Block | ||
---|---|---|
| ||
{ "error": { "message": "string" }, "result": { "message": "string" }, "successful": true } |
...
Content Type: application/json
Response
Property | Type | Description |
---|---|---|
| object of type | error response |
| boolean | always false |
error_response
Property | Type | Description |
---|---|---|
| string | error message |
Code Block | ||
---|---|---|
| ||
{ "error": { "message": "string" }, "successful": false } |