PATCH
/
v1
/
folders
/
{folderId}
curl --request PATCH \
  --url https://app.typebot.io/api/v1/folders/{folderId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "workspaceId": "<string>",
  "folder": {
    "name": "<string>",
    "parentFolderId": "<string>"
  }
}'
{
  "folder": {
    "id": "<string>",
    "createdAt": "<string>",
    "updatedAt": "<string>",
    "name": "<string>",
    "parentFolderId": "<string>",
    "workspaceId": "<string>"
  }
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

folderId
string
required

Body

application/json
workspaceId
string
required
folder
object
required

Response

200 - application/json
folder
object
required