PUT
/
segment
/
update?id=
{id}
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 contact to update

Body

application/json
Contact to update
name
string
required

The name of the Contact

description
string
required

The description of the Contact

Response

200
application/json
Contact response
name
string
required

The name of the Contact

description
string
required

The description of the Contact