Skip to main content
DELETE
/
audience
/
delete
Python
from superu import SuperU

client = SuperU("YOUR_SUPERU_API_KEY")

payload = {
    "audience_id": "597b3dde-9169-4017-800d-f97a5fabebe3"
}

response = client.audience.delete(**payload)
print(response)
{
  "status": "success",
  "audience_id": "597b3dde-9169-4017-800d-f97a5fabebe3",
  "contacts_deleted": 32,
  "message": "Audience deleted"
}

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 audience.

Audience Delete Request schema.

audience_id
string
required

Audience ID

Example:

"597b3dde-9169-4017-800d-f97a5fabebe3"

Response

Audience deleted

Generic Response schema.

status
string

Status value.

Example:

"success"

message
string

Message value.

Example:

"Request completed successfully"

data
object

Data value.