Start access-plane flapping
POST
/tasks/flap/start/{id}Contract
Parameter | Value |
|---|---|
| Section | tasks |
| Authentication | CookieAuth |
| Consumes | not required |
| Produces | application/json |
Parameters
1 parameter
Name | Location | Required | Type | Description |
|---|---|---|---|---|
| id | path | yes | integer | Task ID |
Responses
4 responses
Status | Description | Type |
|---|---|---|
200 | Response: {status: ok} | object |
400 | Invalid task ID | object |
401 | Unauthorized | object |
500 | Task is not running or the command could not be sent to the agents | object |
{}{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }