Required permission
Project > PreviewBlueprints > General > Update
Path parameters
projectId
string requiredID of the projectpreviewBlueprintId
string requiredID of the preview blueprintpreviewId
string requiredID of the preview
Request body
- {object}
lifetime
integerIf provided, the preview environment will expire after this amount of time, in minutes.min1
Response body
- {object}Response object.
data
{object} requiredResult data.expiryTime
string requiredThe time the preview will expire.
POST /v1/projects/{projectId}/preview-blueprints/{previewBlueprintId}/previews/{previewId}/reset
POST /v1/teams/{teamId}/projects/{projectId}/preview-blueprints/{previewBlueprintId}/previews/{previewId}/reset
Example request
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}/resetExample response
200 OK
JSON