Skip to main content
POST
/
v1
/
conversations
/
{id}
/
agent
/
disable
Disable agent for a conversation
curl --request POST \
  --url https://dev.flextell.ai/api/v1/conversations/{id}/agent/disable \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "duration_minutes": 262800
}
'
{
  "success": "<string>",
  "data": {
    "message": "<string>"
  }
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

X-Tenant
number

Tenant identifier. Send the Tenant ID in the X-Tenant header to scope API requests to a specific tenant.

Path Parameters

id
integer
required

The conversation identifier

Body

application/json
duration_minutes
integer | null
Required range: 1 <= x <= 525600

Response

success
string
required
data
object
required