Skip to main content
POST
/
api
/
v1
/
storage
/
files
/
{file_id}
/
move
Move File
curl --request POST \
  --url https://control-plane.kubiya.ai/api/v1/storage/files/{file_id}/move \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "new_path": "<string>"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Path Parameters

file_id
string
required

Body

application/json

Move file request

new_path
string
required

Response

Successful Response