Skip to main content
Unary · Prebuilds Cancels a running prebuild. Use this method to:
  • Stop prebuilds that are no longer needed
  • Free up resources for other operations

Examples

  • Cancel prebuild: Stops a running prebuild and cleans up resources.

Endpoint

Send a Bearer token as described in Authentication. If your organization uses a custom management-plane domain, replace https://app.ona.com with that domain.

Request example

Request

gitpod.v1.CancelPrebuildRequest

Response

gitpod.v1.CancelPrebuildResponse
Prebuild represents a prebuild for a project that creates a snapshot for faster environment startup times.gitpod.v1.Prebuild
PrebuildMetadata contains metadata about the prebuildgitpod.v1.PrebuildMetadata
PrebuildSpec contains the configuration used to create a prebuildgitpod.v1.PrebuildSpec
PrebuildStatus contains the current status and progress of a prebuildgitpod.v1.PrebuildStatus
PrebuildTrigger indicates how the prebuild was triggered
PrebuildPhase represents the lifecycle phase of a prebuild