POST
/
segments
/
{tableNameWithType}
/
reset
curl --request POST \
  --url https://dev.startree.ai/segments/{tableNameWithType}/reset \
  --header 'Authorization: <api-key>'
{
  "status": "<string>"
}

Authorizations

Authorization
string
header
required

The format of the key is "Basic <token>" or "Bearer <token>"

Path Parameters

tableNameWithType
string
required

Name of the table with type

Query Parameters

targetInstance
string

Name of the target instance to reset

errorSegmentsOnly
boolean
default:false

Whether to reset only segments with error state

Response

200 - application/json
successful operation

The response is of type object.