Skip to main content
POST
/
test_framework
/
v1
/
scenarios
/
rename_folder
cURL
curl --request POST \
  --url https://api.cekura.ai/test_framework/v1/scenarios/rename_folder/ \
  --header 'Content-Type: application/json' \
  --header 'X-CEKURA-API-KEY: <api-key>' \
  --data '
{
  "path": "<string>",
  "project_id": 123,
  "name": "<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. Example: "Sales.Inbound"

project_id
integer
required

Project ID the folder belongs to

name
string
required

New name for the folder

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>