Folder
Update a folder
Folder
Update a folder
PATCH
/
v1
/
folders
/
{folderId}
Authorization
string
*
Bearer
Authorization
Required
string
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
folderId
string
*
folderId
Required
string
object
*
workspaceId
string
*
workspaceId
Required
string
folder
object
*
folder
Required
object
name
string
name
string
parentFolderId
string
parentFolderId
string
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
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
folderId
string
requiredBody
application/json
workspaceId
string
requiredfolder
object
requiredfolder.name
string
folder.parentFolderId
string | null
Response
200 - application/json
folder
object
requiredfolder.id
string
requiredfolder.createdAt
string
requiredfolder.updatedAt
string
requiredfolder.name
string
requiredfolder.parentFolderId
string | null
requiredfolder.workspaceId
string
requiredcurl --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>"
}
}