Sign Customiser

Customiser materials

Validate a material image delete

Copy page

Dry-runs the delete: an empty slot answers the identical 404 the delete would, and anything else returns a 200 verdict. Nothing is written, nothing is removed, and no idempotency key is consumed.

POST/api/v3/customisers/{customiser_id}/materials/{material_id}/images/{image_slot}/validate-delete

Overview

The verdict is advisory. Requires customisers:write.

Authorisation

Bearer token required. Include it in theAuthorization header.

Required scope: customisers:write

Path parameters

customiser_idstringpathrequired

The customiser id.

Example: 1

material_idstringpathrequired

The material id.

Example: 5

image_slotstringpathrequired

Which image to remove: image or button_image.

Example: image

Validate a material image delete
curl https://web.signcustomiser.com/api/v3/customisers/1/materials/5/images/image/validate-delete \
  --request POST \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_API_TOKEN'
Response
{
  "data": {
    "object": "material_image_validation",
    "operation": "delete",
    "customiser_id": 42,
    "material_id": 5,
    "image_slot": "image",
    "valid": true
  },
  "links": {
    "self": "https://web.signcustomiser.com/api/v3/customisers/42/materials/5/images/image/validate-delete",
    "documentation": "https://www.signcustomiser.com/help/api/"
  },
  "meta": {
    "api_version": "v3",
    "request_id": "req_01jz9x2k7c8f3m5n6p7q8r9s0t"
  }
}