Required permission
Project > PreviewBlueprints > Previews > Delete
Path parameters
projectId
string requiredID of the projectpreviewBlueprintId
string requiredID of the preview blueprintpreviewId
string requiredID of the preview
Query parameters
skipTeardown
booleanIf `true`, the teardown spec will not be run when deleting the preview environment.
Request body
- {object}
teardownArgumentOverrides
{object}Argument overrides to pass to the teardown spec when deleting the preview environment.
Response body
- {object}Response object.
data
{object} requiredResult data.
DELETE /v1/projects/{projectId}/preview-blueprints/{previewBlueprintId}/previews/{previewId}
DELETE /v1/teams/{teamId}/projects/{projectId}/preview-blueprints/{previewBlueprintId}/previews/{previewId}
Example request
curl --header "Content-Type: application/json" \
--header "Authorization: Bearer NORTHFLANK_API_TOKEN" \
--request DELETE \
--data 'undefined' \
https://api.northflank.com/v1/projects/{projectId}/preview-blueprints/{previewBlueprintId}/previews/{previewId}Example response
200 OK
JSON
{
"data": {}
}