Folders
Rename a folder or change its slug
Changed onSend name, slug, or both. An empty body is rejected with 400.
patch/workspaces/{id}
Request
- Base URL: https://api.varg.ai/v2
- URL: https://api.varg.ai/v2/workspaces/{id}
- Auth: HTTP bearer
Path parameters
idstring required
Folder id (uuid) or slug.
Request body
Response
The updated folder (without file_count)
Example response
{
"workspace": {
"name": "Campaign assets",
"slug": "campaign-assets-3f9a1c2e"
}
}Changes
- info
endpoint added
- info