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

client = SuperU("YOUR_SUPERU_API_KEY")

payload = {
    "agent_object_id": "66d3f3417bc4a5d5f8b7c8f4"
}

response = client.agents.delete(**payload)
print(response)
{
  "status": "success",
  "agent_object_id": "66d3f3417bc4a5d5f8b7c8f4",
  "message": "Agent deleted"
}

Authorizations

superU-Api-Key
string
header
required

Your SuperU API key.

Body

application/json

Request body for Delete agent.

Agent Delete Request schema.

agent_object_id
string
required

Agent object ID

Example:

"66d3f3417bc4a5d5f8b7c8f4"

Response

Agent deleted

Generic Response schema.

status
string

Status value.

Example:

"success"

message
string

Message value.

Example:

"Request completed successfully"

data
object

Data value.