Skip to main content
DELETE
/
material-library
/
remove-material
Remove Materials
curl --request DELETE \
  --url https://api-v2.production.higg.org/pic-api/v1/material-library/remove-material \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --header 'x-developer-request-token: <api-key>' \
  --data '
{
  "ids": [
    "<string>"
  ]
}
'
{
  "successIds": [
    "<string>"
  ],
  "failureIds": [
    "<string>"
  ]
}
Use this endpoint to delete one or more custom materials from your PIC material library.
This action is destructive and cannot be undone. Products that reference deleted materials will no longer have valid material data.

Request body params

Field NameData TypeDescription
idsArray<string>[REQUIRED] An array of one or more material IDs to delete.

Implementation Details

  • Bulk operation: You can delete multiple materials in a single request.
  • Response format: Returns { successIds: string[], failureIds: string[] } indicating which deletions succeeded and which failed.

Authorizations

x-api-key
string
header
required
x-developer-request-token
string
header
required

Body

application/json
ids
string[]
required

Response

200 - application/json

Ok

successIds
string[]
required
failureIds
string[]
required