Skip to main content
POST

Authorizations

x-api-key
string
header
required

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

Body

application/json

Move request for POST /api/v1/folders/move.

Everything listed moves together or nothing does. Send target_folder_uuid: null to move the selection to the top of the library.

target_folder_uuid
string | null

The folder everything listed moves into. Null moves it all to the top of the library.

Example:

"c4f1a7d2-3b85-4e60-9a1f-7d2c5e8b4061"

psd_mockup_uuids
string[]

PSD mockups to move, up to 500.

Maximum array length: 500
photo_mockup_uuids
string[]

Photo mockups to move, up to 500.

Maximum array length: 500
folder_uuids
string[]

Folders to move, with everything inside them, up to 500.

Maximum array length: 500

Response

200 - application/json

Successful Response

Move response for POST /api/v1/folders/move.

data
FolderMoveData · object
required

What moved.

success
boolean
default:true

Always true on a successful response.

Example:

true