v18

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-014211,6201.8 MB
gitpod.v1.PrebuildService

CancelPrebuild

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.

    prebuildId: "07e03a28-65a5-4d98-b532-8ea67b188048"
    
post/gitpod.v1.PrebuildService/CancelPrebuild

Request body

prebuildIdstring uuid required

prebuild_id specifies the prebuild to cancel

Response

Success