younifyd
Menu

Unpublish Language Variant

Unpublish a language variant

PUT/v2/projects/{environment_id}/items/{item_id}/variants/{language_id}/unpublish

Use it in a workflow

  1. Add a step and choose the Kontent.ai connector.
  2. Pick the Unpublish Language Variant action (under Workflow Actions).
  3. Fill in the fields below, then reference the result from later steps as {{unpublishLanguageVariant.response.data}}.

Request

Path parameters

environment_idstringrequired

Environment (project) ID.

item_idstringrequired

Content item ID.

language_idstringrequired

Language ID.

Request body

Enter the body as JSON in the step's Body field.

scheduled_tostring (date-time)

Optional ISO 8601 time to schedule the action.

json
{
  "scheduled_to": "2025-01-01T00:00:00Z"
}

Response

Returns 204 with a any. Read it in later steps with {{unpublishLanguageVariant.response.data.<field>}}.

Need more? See the Kontent.ai guide for connection setup and behaviour shared by every action.

Unpublish Language Variant — Kontent.ai — Documentation