Skip to main content
DELETE
/
v1
/
apps
/
{id}
/
files
Delete Application File or Folder
curl --request DELETE \
  --url https://api.vertracloud.app/v1/apps/{id}/files
{}

Documentation Index

Fetch the complete documentation index at: https://docs.vertracloud.app/llms.txt

Use this file to discover all available pages before exploring further.

id
string
required
The ID of the application to delete the file or folder from. If the application belongs to a workspace, include the workspace_id in the format appId-workspace_id.
path
string
required
The path to the file or folder to delete.

Response

{}

Error Responses

code
string
The error code indicating the reason for failure. Possible values:
  • UNAUTHORIZED: The user is not authenticated or lacks sufficient permissions.
  • FORBIDDEN: The user does not have permission to access the application.
  • APP_NOT_FOUND: The specified application does not exist.
  • PLAN_RESTRICTED_FEATURE: The user’s plan does not support file manager access.
  • MISSING_PATH: The path query parameter was not provided.
  • FORBIDDEN_PATH: The specified path is restricted.
  • FILE_DELETE_FAILED: Failed to delete the file or folder.
message
string
A descriptive message providing additional details about the error.
{
  "code": "UNAUTHORIZED"
}