Create upload folder

http
POST /projects/{project_reference}/uploads/folders

Create a folder in project uploads with a visibility. Requires project.uploads.write.

Parameters

NameInRequiredDescription
project_referencepathYesProject slug, UUID, or domain that identifies the project.

Request body

FieldTypeRequiredDescription
folder_pathstringFolder path (for example, "assets/images/"). Trailing slash is added automatically.
pathstringAnother spelling of folder_path. Send one of the two.
visibilitystringFolder visibility; defaults to project. Changing inherited visibility requires path administration; public visibility follows the paid-project policy.

Responses

StatusDescription
201Folder created.
400Invalid input
401Unauthorized
402Public visibility is not available on the project plan
403Forbidden
404Project or upload path not found
500Server error