Skip to main content
POST
/
test_framework
/
v1
/
scenarios
/
move_folder
cURL
curl --request POST \
  --url https://api.cekura.ai/test_framework/v1/scenarios/move_folder/ \
  --header 'Content-Type: application/json' \
  --header 'X-CEKURA-API-KEY: <api-key>' \
  --data '
{
  "path": "<string>",
  "project_id": 123,
  "new_parent_path": "<string>"
}
'
{
  "name": "<string>",
  "path": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

X-CEKURA-API-KEY
string
header
required

API Key Authentication. It should be included in the header of each request.

Body

path
string
required

Current folder path to move. Example: "Sales.Inbound"

project_id
integer
required

Project ID the folder belongs to

new_parent_path
string | null

New parent folder path. Empty or null to move to root. Example: "Marketing"

Response

200 - application/json

Serializer for ScenarioFolder.

name
string
Maximum string length: 300
path
string

Human-readable path with case preservation

created_at
string<date-time>
updated_at
string<date-time>