Remove categorization attributes from an item
POST /api/bom/v1/part_version/{partVersionId}/category_attribute_bulk/remove
removes all attributes from an item that belong to categories specified in the request body.
Request schema
Method | URL |
---|---|
POST | /api/bom/v1/part_version/{partVersionId}/category_attribute_bulk/remove |
Request header
*indicates required parameters
Field | Value Type | Description |
---|---|---|
*Authorization |
String | Enter: Bearer access token. |
*Upc-Selected-Company |
Integer | Company’s ID. Use the value returned in the id field received in response to the following request: GET /api/auth/v1/companies . |
*PartVersionId |
Integer | The ID of the item from which to remove all attributes belonging to specified categories. |
X-User-Id |
Text | Enter the email address of the user being impersonated. This value is required if you are using a two-legged token. If you are using a three-legged token, then this field is not required. |
Request body
Field | Value Type | Description |
---|---|---|
*selectedCategory |
Array | Contains an array of category IDs that you want to remove from the specified item. |
Sample request body
{
"selectedCategory": [
{
"categoryID": 1271
},
{
"categoryID": 1272
}
]
}
Response schema
A successful request returns an empty 204-HTTP response.