Skip to main content
DELETE
/
folders
/
{folder_token}
Delete folder
curl --request DELETE \
  --url https://api.vantage.sh/v2/folders/{folder_token} \
  --header 'Authorization: Bearer <token>'
{
  "token": "<string>",
  "title": "Platform Team Reports",
  "parent_folder_token": "<string>",
  "saved_filter_tokens": [
    "<string>"
  ],
  "created_at": "2023-08-04T00:00:00Z",
  "updated_at": "2023-08-04T00:00:00Z",
  "workspace_token": "<string>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

folder_token
string
required

Response

Folder model

token
string
title
string

The title of the Folder.

Example:

"Platform Team Reports"

parent_folder_token
string

The token for the parent Folder, if any.

saved_filter_tokens
string[]

The tokens for the SavedFilters assigned to the Folder.

created_at
string

The date and time, in UTC, the Folder was created. ISO 8601 Formatted.

Example:

"2023-08-04T00:00:00Z"

updated_at
string

The date and time, in UTC, the Folder was last updated at. ISO 8601 Formatted.

Example:

"2023-08-04T00:00:00Z"

workspace_token
string

The token for the Workspace the Folder is a part of.