Skip to main content
PUT
/
prod
/
segment
/
{id}
Update Segment
curl --request PUT \
  --url https://api.aimtell.com/prod/segment/{id} \
  --header 'Content-Type: application/json' \
  --header 'X-Authorization-Api-Key: <api-key>' \
  --data '
{
  "name": "<string>",
  "definition": "<string>"
}
'
{
  "result": "success",
  "idSegment": "24",
  "message": "Successfully updated segment"
}

Authorizations

X-Authorization-Api-Key
string
header
default:""
required

Path Parameters

id
string
required

Segment ID

Body

application/json
name
string

Name of Segment

definition
string

Definition

Response

200