Suspend Connection
POST
/web/v1/workspaces/{workspaceId}/slash/connections/{connectionBizId}/suspend JWTSuspends an active Slash connection, temporarily disabling all operations through it.
Required Headers
| Header | Example Value | Description |
|---|---|---|
| Content-Type | application/json | Request content type |
| Accept | application/json | Expected response type |
| X-Client-Hash | Client device fingerprint | |
| Accept-Language | en, zh, zh-Hant, ja, vi | Response language (default: en) |
| Authorization | Bearer | JWT access token |
| X-Workspace-Id | Target workspace ID |
Request Parameters
| Name | Type | Required | In | Description |
|---|---|---|---|---|
connectionBizId | String | Optional | path | Slash connection business ID.", constraints: "Path parameter |
workspaceId | String | Required | path | Workspace ID.", constraints: "Path parameter (injected by gateway) |
Success Response
Not Found 404
{
"code": "4040",
"message": "Connection not found"
}Error Responses
| HTTP Status | Code | Description |
|---|---|---|
| 401 | 4010 | Invalid or expired JWT token |
| 403 | 4030 | Insufficient permissions |
| 404 | 4040 | Connection not found |
Notes
- No request body is required.
- Connection status transitions to
SUSPENDED(20010204). - A suspended connection can be reactivated using the Activate Connection endpoint.