PUT
/
segment
/
update?id=
{id}
cURL
curl --request PUT \
  --url 'https://api.precallai.com/api/v1/segment/update?id={id}' \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "name": "<string>",
  "description": "<string>"
}'
{
  "name": "<string>",
  "description": "<string>"
}

Authorizations

x-api-key
string
header
required

Path Parameters

id
string
required

The ID of the segment to update

Body

application/json

Segment to update

name
string
required

The name of the Contact

description
string
required

The description of the Contact

Response

Segment response

name
string
required

The name of the Contact

description
string
required

The description of the Contact