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

client = SuperU("YOUR_SUPERU_API_KEY")

payload = {
    "folder_id": "fld_01HXR9A3RWQXTQED0KH43WSYH1",
    "folder_name": "Outbound Team",
    "description": "Top of funnel campaigns"
}

response = client.folders.update(**payload)
print(response)
{
  "status": "success",
  "folder_id": "fld_01HXR9A3RWQXTQED0KH43WSYH1",
  "message": "Folder updated"
}

Authorizations

superU-Api-Key
string
header
required

Your SuperU API key.

Body

application/json

Request body for Update folder.

Folder Update Request schema.

folder_id
string
required

Folder ID

Example:

"fld_01HXR9A3RWQXTQED0KH43WSYH1"

folder_name
string
required

New folder name

Example:

"Outbound Team"

description
string

New description

Example:

"Top of funnel campaigns"

Response

Folder updated

Generic Response schema.

status
string

Status value.

Example:

"success"

message
string

Message value.

Example:

"Request completed successfully"

data
object

Data value.