Skip to main content
POST
Move asset

Authorizations

Authorization
string
header
required

An API key from the dashboard, such as sk_live_…. It acts in its workspace.

Body

application/json
from
string
required

An asset's name, or a folder ending in / to move everything in it.

to
string
required

The new name, or for a folder the new folder, ending in /.

overwrite
boolean
default:false

Replace assets already at the new names; refused with 409 when false (the default).

Response

OK

assets
object[]
required

The assets at their new names.