Delete a category attribute
DELETE /api/category_attribute/v1/{categoryAttributeId}
deletes a categorization attribute. If the attribute is set on an item, it is removed from that item. Further, if the categorization attribute is a drop-down list, all attribute values from the list are deleted.
Request schema
Method | URL |
---|---|
DELETE | /api/category_attribute/v1/{categoryAttributeId} |
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 . |
*CategoryAttributeId |
Integer | ID of the category attribute to delete. |
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. |
Response schema
A successful request returns an empty 204-HTTP response.