curl --request POST \
--url 'https://api.sandbox.stateset.app/api/v1/sandbox/{id}/files/move' \
--header "Authorization: Bearer $STATESET_SANDBOX_API_KEY" \
--header 'Content-Type: application/json' \
--data '{}'
{
"success": true,
"source": "string",
"destination": "string"
}
Move or rename a file
Move or rename a file
POST
/
api
/
v1
/
sandbox
/
{id}
/
files
/
move
curl --request POST \
--url 'https://api.sandbox.stateset.app/api/v1/sandbox/{id}/files/move' \
--header "Authorization: Bearer $STATESET_SANDBOX_API_KEY" \
--header 'Content-Type: application/json' \
--data '{}'
{
"success": true,
"source": "string",
"destination": "string"
}
Path parameters
string (uuid)
required
Sandbox identifier
Request body
JSON body of typeMoveFileRequest.
Response
object
boolean
required
string
required
string
required
Status codes
| Code | Meaning |
|---|---|
200 | File moved |
404 | Sandbox not found |
curl --request POST \
--url 'https://api.sandbox.stateset.app/api/v1/sandbox/{id}/files/move' \
--header "Authorization: Bearer $STATESET_SANDBOX_API_KEY" \
--header 'Content-Type: application/json' \
--data '{}'
{
"success": true,
"source": "string",
"destination": "string"
}
Last modified on August 31, 2026