Skip to content

Move an artifact into a folder

POST
/v1/artifacts/{id}/folder
curl --request POST \
--url https://shareout.site/v1/artifacts/example/folder \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "folder_id": "example" }'

Pass folder_id: null to remove the artifact from its folder.

id
required
string

Artifact ID (e.g. art_abc123).

Media type application/json
object
folder_id
required
string | null
Example generated
{
"folder_id": "example"
}

Moved

Resource not found

Media type application/json
object
success
required
boolean
error
required

Human-readable message.

string
code
required

Machine-readable error code.

string
Example
{
"success": false
}