v1
Northflank docs for LLMs
API
CLI
JS Client

Project / Preview Blueprints /

Reset preview environment expiry

Reset the expiry of a preview environment generated by a preview blueprint.

Required permission

Project > PreviewBlueprints > General > Update

Path parameters

    • projectId

      string required
      ID of the project
    • previewBlueprintId

      string required
      ID of the preview blueprint
    • previewId

      string required
      ID of the preview

Request body

  • {object}
    • lifetime

      integer
      If provided, the preview environment will expire after this amount of time, in minutes.
      min
      1

Response body

  • {object}
    Response object.
    • data

      {object} required
      Result data.
      • expiryTime

        string required
        The time the preview will expire.
API
CLI
JS Client

POST /v1/projects/{projectId}/preview-blueprints/{previewBlueprintId}/previews/{previewId}/reset

POST /v1/teams/{teamId}/projects/{projectId}/preview-blueprints/{previewBlueprintId}/previews/{previewId}/reset

Example request

Request body
curl --header "Content-Type: application/json" \
  --header "Authorization: Bearer NORTHFLANK_API_TOKEN" \
  --request POST \
  --data 'undefined' \
  https://api.northflank.com/v1/projects/{projectId}/preview-blueprints/{previewBlueprintId}/previews/{previewId}/reset

Example response

200 OK

Response indicating the updated expiry for the preview environment.

JSON

© 2026 Northflank Ltd. All rights reserved.

northflank.com / Terms / Privacy / feedback@northflank.com