Docs Home Return to Homepage
Get Started Login

Update Folder

Last updated Changelog

On this page
http
PUT /crates/{handle}/folders/{folder}

Changes a folder’s size cap. A cap below what the folder holds is refused with 400. A folder can’t be renamed.

Parameters

Field Type Required Description
size_gb integer or null Yes The cap in GB, null for none

Response

json
{ "message": "Folder updated." }

Errors

Besides the errors any endpoint can return:

Status Code When
400 operation_rejected The server behind the API (mail, database, storage) or the registrar refused the operation. error says why.
403 scope_denied This API key does not have Crates write access for this crate.
403 service_inactive This crate is not active.
404 not_found Crate not found. Folder not found.
502 upstream_unavailable This crate has no storage node.

Snagged on something?

Our sysadmins answer tickets around the clock.