Skip to main content
PATCH

Authorizations

x-api-key
string
header
required

API key with sm_ prefix. Get your key at https://sudomock.com/dashboard/api-keys

Path Parameters

mockup_id
string
required

Body

application/json

Update request for PATCH /api/v1/psd-mockups/{uuid}

name
string | null

New mockup name

Required string length: 1 - 255
colors
MockupColour · object[] | null

The colours this mockup answers to by name. Replaces the whole list, so send every colour you want to keep. Send [] to clear it.

Maximum array length: 96

Response

200 - application/json

Successful Response

data
PhotoMockupUpdateData · object
required
success
boolean
default:true