# Update Workflow Relationships Update Workflow Relationships Endpoint: PUT /rest/2.0/WORKFLOW_DEPENDENCE Version: 1.0 Security: JWT ## Header parameters: - `sessionId` (string, required) ## Request fields (application/json; charset=utf-8): - `brmObjects` (object) - `brmObjects.WorkflowRuleId` (integer) Workflow Id - `brmObjects.RootEntityId` (integer) Root Entity Id - `brmObjects.RootWorkflowRuleId` (integer) Root Workflow Id - `brmObjects.WorkflowLevel` (string) Workflow Level - `brmObjects.WorkflowActionId` (integer) Workflow Action Id - `brmObjects.DependenceType` (string) Dependence Type - `brmObjects.Id` (string, required) Id: NODE_KEY - `brmObjects.ParentId` (string) ParentId ## Response 200 fields (application/json): - `retrieveResponse` (object) - `retrieveResponse.WorkflowRuleId` (integer) Workflow Id - `retrieveResponse.RootEntityId` (integer) Root Entity Id - `retrieveResponse.RootWorkflowRuleId` (integer) Root Workflow Id - `retrieveResponse.WorkflowLevel` (string) Workflow Level - `retrieveResponse.WorkflowActionId` (integer) Workflow Action Id - `retrieveResponse.DependenceType` (string) Dependence Type - `retrieveResponse.Id` (string) Id: NODE_KEY - `retrieveResponse.ParentId` (string) ParentId ## Response 400 fields (application/json): - `error` (string) Bad request - `message` (string) Bad request ## Response 401 fields (application/json): - `error` (string) Unauthorized - `message` (string) Unauthorized ## Response 404 fields (application/json): - `error` (string) Not found - `message` (string) Not found ## Response 429 fields (application/json): - `error` (string) Too many requests - `message` (string) Too many requests ## Response 500 fields (application/json): - `error` (string) Internal error - `message` (string) Internal error