Sign Customiser

Navigation

Dark mode

Customiser letter parts

Validate a letter part colour image delete

Copy page

Dry-runs the delete: an empty slot answers the identical 404 the delete would, a texture image the custom_texture finish still needs answers the identical 422, 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}/letter-types/{letter_type_id}/letter-parts/{letter_part}/colours/{colour_id}/images/{image_slot}/validate-delete
POSTValidate a letter part colour image delete
POST/api/v3/customisers/{customiser_id}/letter-types/{letter_type_id}/letter-parts/{letter_part}/colours/{colour_id}/images/{image_slot}/validate-delete

Validate a letter part colour image delete

Dry-runs the delete: an empty slot answers the identical 404 the delete would, a texture image the `custom_texture` finish still needs answers the identical 422, and anything else returns a 200 verdict. Nothing is written, nothing is removed, and no idempotency key is consumed. The verdict is advisory. Requires `customisers:write`.

Authorisation

The Authorization header expects a Bearer token. Generate one on the API keys page in your dashboard.

Path

The customiser id.

The letter type id.

The letter part the colour belongs to.

The colour id.

Which image to remove: `image`, `example_image` or `texture_image`.

Validate a letter part colour image delete

Overview

The verdict is advisory. Requires customisers:write.

Authorisation

Bearer token required. Include it in the Authorization header.

Required scope: customisers:write

Path parameters

customiser_idstringpathrequired

The customiser id.

Example: 1

letter_type_idstringpathrequired

The letter type id.

Example: 3

letter_partstringpathrequired

The letter part the colour belongs to.

Example: face

colour_idstringpathrequired

The colour id.

Example: 7

image_slotstringpathrequired

Which image to remove: `image`, `example_image` or `texture_image`.

Example: image

Validate a letter part colour image delete
curl https://web.signcustomiser.com/api/v3/customisers/1/letter-types/3/letter-parts/face/colours/7/images/image/validate-delete \
  --request POST \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_API_TOKEN'
Response
{
  "data": {
    "object": "letter_part_colour_image_validation",
    "operation": "delete",
    "customiser_id": 42,
    "letter_type_id": 3,
    "letter_part": "face",
    "colour_id": 7,
    "image_slot": "image",
    "valid": true
  },
  "links": {
    "self": "https://web.signcustomiser.com/api/v3/customisers/42/letter-types/3/letter-parts/face/colours/7/images/image/validate-delete",
    "documentation": "https://www.signcustomiser.com/help/api/"
  },
  "meta": {
    "api_version": "v3",
    "request_id": "req_01jz9x2k7c8f3m5n6p7q8r9s0t"
  }
}

Type a question and press Enter. Use the arrow keys to move between the results.