patch https://a.klaviyo.com/api/segments//
Update the name of a segment with the given segment ID.
Rate limits:
Burst: 10/s
Steady: 150/m
Scopes:
segments:write
Responses
Update the name of a segment with the given segment ID.
Rate limits:
Burst: 10/s
Steady: 150/m
Scopes:
segments:write
xxxxxxxxxx
13curl --request PATCH \
--url https://a.klaviyo.com/api/segments/id/ \
--header 'Authorization: Klaviyo-API-Key your-private-api-key' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'revision: 2023-06-15' \
--data '
{
"data": {
"type": "segment"
}
}
'
xxxxxxxxxx
40}
{
"data": {
"type": "segment",
"id": "string",
"attributes": {
"name": "Repeat Purchasers",
"created": "2022-11-08T00:00:00",
"updated": "2022-11-08T00:00:00"
},
"relationships": {
"profiles": {
"data": [
{
"type": "profile",
"id": "string"
}
],
"links": {
"self": "string",
"related": "string"
}
},
"tags": {