Skip to main content
POST
/
folder
/
delete
Python
from superu import SuperU

client = SuperU("YOUR_SUPERU_API_KEY")

payload = {
    "folder_id": "25388237-72ba-46a9-b8b5-f0341939775c"
}

response = client.folders.delete(**payload)
print(response)
{
  "success": true,
  "message": "Folder deleted successfully"
}

Documentation Index

Fetch the complete documentation index at: https://docs.superu.ai/llms.txt

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

Authorizations

superU-Api-Key
string
header
required

Your SuperU API key.

Body

application/json

Request body for Delete folder.

Folder Delete Request schema.

folder_id
string
required

Folder ID

Example:

"25388237-72ba-46a9-b8b5-f0341939775c"

Response

Folder deleted

Generic Response schema.

status
string

Status value.

Example:

"success"

message
string

Message value.

Example:

"Request completed successfully"

data
object

Data value.