Skip to content

This page is available as Markdown at https://developers.klaviyo.com/en/v2024-06-15/reference/delete_tag_relationships_segments.md. An index of every page is at https://developers.klaviyo.com/llms.txt.

KlaviyoKlaviyoDevelopers
v2024-06-15

You're reading the reference for API revision 2024-06-15. The latest revision is 2026-10-15. See this page in the latest revision.

Delete Tag Relationships Segments

DELETEhttps://a.klaviyo.com/api/tags/{id}/relationships/segments/

Remove a tag's association with one or more segments.

Use the request body to pass in the ID(s) of the segments(s) whose association with the tag will be removed.

Revision header
revision: 2024-06-15required
Scopes
segments:writetags:write
Rate limits
Burst: 3/sSteady: 60/m

Path parameters

  • id#stringrequired

Headers

  • revision#stringrequired

    API endpoint revision (format: YYYY-MM-DD[.suffix])

    2024-06-15

Request body

Content type: application/jsonrequired

  • data#object[]required
    Show 2 fields
    • type#stringrequired
      Allowed values:
      • segment
    • id#stringrequired

      The IDs of the segments to link or unlink with the given Tag ID

Responses

204Success

This response has no body.

4XXClient Error

Content type: application/json

  • errors#object[]required
    Show 5 fields
    • id#stringrequired
    • code#stringrequired
    • title#stringrequired
    • detail#stringrequired
    • source#object
      Show 2 fields
      • pointer#string
      • parameter#string

5XXServer Error

Content type: application/json

  • errors#object[]required
    Show 5 fields
    • id#stringrequired
    • code#stringrequired
    • title#stringrequired
    • detail#stringrequired
    • source#object
      Show 2 fields
      • pointer#string
      • parameter#string