Rename an existing folder.
API ReferenceFolder
Rename folder
PATCH
/spaces/{spaceId}/folders/{folderId}Authorization API key in the x-api-key header
Path parameters
spaceIdstringrequiredID of the workspace. You can find from the url in dashboard when you open the workspace or using the list workspaces endpoint.
folderIdstringrequiredID of the folder to rename
Body
application/json · object
namestringrequiredNew name for the folder
Responses
200Updated folderapplication/json · Folder
idstringrequiredcreatedAtstringrequiredupdatedAtstringrequirednamestringrequiredworkspaceIdstringrequiredparentFolderIdstring
400Invalid inputapplication/json · ApiError
errorstringrequiredshort description of the error
errorDetailsobjectadditional details for the cause of the error if available
401Authentication failedapplication/json · ApiError
errorstringrequiredshort description of the error
errorDetailsobjectadditional details for the cause of the error if available
403You don't have accessapplication/json · ApiError
errorstringrequiredshort description of the error
errorDetailsobjectadditional details for the cause of the error if available
404Not found or don't have accessapplication/json · ApiError
errorstringrequiredshort description of the error
errorDetailsobjectadditional details for the cause of the error if available

