Visitar URL original
Unpublish Form | Klaviyo API ReferenceSkip to content

This page is available as Markdown at https://developers.klaviyo.com/en/reference/unpublish_form_beta.md. Its OpenAPI document is at https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15.pre/openapi/beta/apis/unpublish_form_beta.json. An index of every page is at https://developers.klaviyo.com/llms.txt.

KlaviyoKlaviyoDevelopers

This endpoint is in beta. Call it with the revision header 2026-10-15.pre. Beta endpoints may change before they're generally available. See our versioning and deprecation policy for more information.

POSThttps://a.klaviyo.com/api/form-unpublish-jobs

Unpublish the live version of a form.

The unpublish completes synchronously; the returned job resource cannot be retrieved afterwards. Forms with a live A/B test are not supported and must be unpublished from the form editor.

Revision header
revision: 2026-10-15.prerequired
Scopes
forms:write
Rate limits
Burst: 3/sSteady: 60/m

Query parameters

  • fields[form-unpublish-job]#string[]

    For more information please visit API overview

    Allowed values:
    • created_at
    • id
    • status

Headers

  • revision#stringrequired

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

    2026-10-15.pre

Request body

Content type: application/vnd.api+jsonrequired

  • data#objectrequired
    Show 2 fields
    • type#stringrequired
      Allowed values:
      • form-unpublish-job
    • relationships#objectrequired
      Show 1 field
      • form#objectrequired
        Show 1 field
        • data#object
          Show 2 fields
          • type#stringrequired
            Allowed values:
            • form
          • id#stringrequired

            The form to unpublish.

Responses

202Success

Content type: application/vnd.api+json

  • data#objectrequired
    Show 5 fields
    • type#stringrequired
      Allowed values:
      • form-unpublish-job
    • id#stringrequired

      ID of the unpublish job.

    • attributes#objectrequired
      Show 2 fields
      • status#stringrequired

        The status of the job. The unpublish completes synchronously, so this status does not transition and the job cannot be retrieved later.

        Allowed values:
        • cancelled
        • complete
        • processing
        • queued
      • created_at#string<date-time>required

        ISO8601 timestamp when the job was created.

        Example: 2026-07-15T00:00:00Z

    • relationships#object
      Show 1 field
      • form#object
        Show 2 fields
        • data#object
          Show 2 fields
          • type#stringrequired
            Allowed values:
            • form
          • id#stringrequired

            The form this job unpublishes.

  • meta#object

    Response-level metadata

    Show 1 field
    • agent_hints#object

      Optional hints emitted by the API for agent callers

      Show 1 field
      • next_steps#string[]

        Suggested follow-up actions for agents to take after this response

4XXClient Error

Content type: application/vnd.api+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/vnd.api+json

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