Deactivate tunnel
POST
/tunnels/{id}/deactivateContract
Parameter | Value |
|---|---|
| Section | tunnels |
| Authentication | CookieAuth |
| Consumes | not required |
| Produces | application/json |
Parameters
1 parameter
Name | Location | Required | Type | Description |
|---|---|---|---|---|
| id | path | yes | integer | Tunnel ID |
Responses
5 responses
Status | Description | Type |
|---|---|---|
200 | Deactivation result: {status} | object |
400 | Invalid tunnel ID | object |
401 | Unauthorized | object |
404 | Tunnel not found | object |
500 | Failed to update record | object |
{}{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }