curl --request DELETE \
--url https://api.blaxel.ai/v0/sandboxes/{sandboxName}/previews/{previewName} \
--header 'Authorization: Bearer <token>'{
"metadata": {
"createdAt": "<string>",
"updatedAt": "<string>",
"createdBy": "<string>",
"updatedBy": "<string>",
"displayName": "<string>",
"name": "<string>",
"resourceName": "<string>",
"resourceType": "<string>",
"workspace": "<string>"
},
"spec": {
"customDomain": "<string>",
"expires": "<string>",
"port": 123,
"prefixUrl": "<string>",
"public": true,
"region": "<string>",
"requestHeaders": {},
"responseHeaders": {},
"ttl": "<string>",
"url": "<string>"
}
}Deletes a Sandbox Preview by name.
curl --request DELETE \
--url https://api.blaxel.ai/v0/sandboxes/{sandboxName}/previews/{previewName} \
--header 'Authorization: Bearer <token>'{
"metadata": {
"createdAt": "<string>",
"updatedAt": "<string>",
"createdBy": "<string>",
"updatedBy": "<string>",
"displayName": "<string>",
"name": "<string>",
"resourceName": "<string>",
"resourceType": "<string>",
"workspace": "<string>"
},
"spec": {
"customDomain": "<string>",
"expires": "<string>",
"port": 123,
"prefixUrl": "<string>",
"public": true,
"region": "<string>",
"requestHeaders": {},
"responseHeaders": {},
"ttl": "<string>",
"url": "<string>"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Name of the Sandbox
Name of the Preview
successful operation
Preview of a Resource
PreviewMetadata Time fields for Persistance Owner fields for Persistance
Show child attributes
The date and time when the resource was created
The date and time when the resource was updated
The user or service account who created the resource
The user or service account who updated the resource
Model display name
Preview name
Resource name
Resource type
Workspace name
Preview of a Resource
Show child attributes
Custom domain bound to this preview
The expiration date for the preview in ISO 8601 format - 2024-12-31T23:59:59Z
Port of the preview
Prefix URL
Whether the preview is public
Region where the preview is deployed, this is readonly
Time to live for the preview (e.g., "1h", "24h", "7d"). After this duration, the preview will be automatically deleted.
URL of the preview
Was this page helpful?