Windchill REST Services Domain Capabilities > Examples for Basic REST Operations > Deleting Associations between Parts and CAD Documents
Deleting Associations between Parts and CAD Documents
You can delete single or multiple associations between a part and a CAD document.
The following example demonstrates how to delete a single association between a part and a CAD document. Use the following POST URI with the request body.
URI
POST /Windchill/servlet/odata/ProdMgmt/DeleteAssociations HTTP/1.1
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"PartDocAssociations": [
{
"AssociationType": {
"Value": "CONTENT"
},
"RelatedPart@odata.bind": "Parts('OR:wt.part.WTPart:11908807')",
"RelatedCADDoc@odata.bind": "CADDocuments('OR:wt.epm.EPMDocument:11908719')"
}
]
}