Skip to main content
POST
/
fs
/
{source_id}
/
mv
Move or rename
curl --request POST \
  --url https://apigcp.trynia.ai/v2/fs/{source_id}/mv \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "old_path": "<string>",
  "new_path": "<string>"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

API key must be provided in the Authorization header

Path Parameters

source_id
string
required

Body

application/json
old_path
string
required
new_path
string
required

Response

Successful Response