Delete Assignment Rule
Last updated
Was this helpful?
Last updated
Was this helpful?
This call is used to delete an assignment rule. Care should be taken when using this call, as there will be no prompt (‘are you sure you want to delete this rule?’) when it is sent. The deletion request will be immediately processed.
It is sent as a DELETE call, and the url includes the ID (from the ‘get assignment rules’ call) for the rule to be deleted.
The body of this call is the same as the body for ‘Get Assignment Rules’ or ‘Get Rule Details’ call, containing the user credentials, project, and workset information.
The return message for this call is very simple, with a single return code (‘1’ for ‘true’).
In TDO, we can now see no rules for this field (this is the same rule that was updated using the ‘Update Assignment Rule’ call in the previous section).