Close Connection
POST
/web/v1/workspaces/{workspaceId}/slash/connections/{connectionBizId}/closeJWTPermanently closes a Slash connection. This action is irreversible.
Authentication
Requires a valid JWT token with workspace:manage permission. Portal access: system, tenant.
Request Parameters
| Name | Type | Required | In | Description |
|---|---|---|---|---|
workspaceId | String | Yes | path | Workspace ID. |
connectionBizId | String | Yes | path | Slash connection business ID. |
Success Response
Not Found404
{
"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
CLOSED(20010205). - Closing a connection is permanent and cannot be undone.