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

uuid
string
required

Folder UUID

Body

application/json

Rename or move request for PATCH /api/v1/folders/{uuid}.

A field left out is left alone. parent_uuid: null moves the folder to the top of the library, which is why "left out" and "sent as null" cannot be the same thing here and are told apart by what the caller actually sent.

name
string | null

A new name for the folder.

Example:

"Frames 8x10"

parent_uuid
string | null

The folder to move this one into. Send null to move it to the top of the library.

Example:

"9e3b6c14-27af-4d58-b0e1-5c8a2f9d7340"

Response

200 - application/json

Successful Response

Single folder response for GET /api/v1/folders/{uuid}.

data
FolderDetail · object
required

The folder, its trail and its totals.

success
boolean
default:true

Always true on a successful response.

Example:

true