Replica

Sleep Workspace

Forces an active workspace in the authenticated organization to sleep, stopping compute charges. Slept workspaces can be woken later. A no-op for already-sleeping or archived workspaces; returns 409 for preparing or error workspaces.

post/v1/workspaces/{workspaceId}/sleep

Request

  • Base URL
    https://api.tryreplicas.com
  • URL
    https://api.tryreplicas.com/v1/workspaces/{workspaceId}/sleep
  • Auth
    HTTP bearer

Path parameters

workspaceIdstring uuid required

Workspace UUID.

Response

Workspace slept

successboolean required

Whether the sleep request was accepted

Changes

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