Skip to main content
DELETE
/
v1
/
workspaces
/
{workspaceId}
/
previews
/
{port}
Delete Workspace Preview
curl --request DELETE \
  --url https://api.tryreplicas.com/v1/workspaces/{workspaceId}/previews/{port} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "port": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.replicas.dev/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key authentication. Obtain your API key from the Replicas dashboard under Settings > API Keys.

Path Parameters

workspaceId
string<uuid>
required

Workspace UUID.

port
integer
required

Workspace port number to unregister.

Required range: 1 <= x <= 65535

Response

Preview deleted

success
boolean
required

Whether the preview was deleted

port
integer
required

Port number that was unregistered