Preview

Delete Preview

Unregisters a preview port for the authenticated workspace. This endpoint is intended for agent mode and requires the workspace ID header plus the workspace engine secret as a bearer token.

delete/v1/previews/{port}

Request

  • Base URL
    https://api.tryreplicas.com
  • URL
    https://api.tryreplicas.com/v1/previews/{port}
  • Auth
    HTTP bearer and API key in header X-Workspace-Id

Path parameters

portinteger required

Workspace port number to unregister.

Response

Preview deleted

successboolean required

Whether the preview was deleted

portinteger required

Port number that was unregistered

Changes

No recorded changes to this operation across all 1 revision of this API.