Skip to main content
PATCH
Update a worker

Authorizations

Authorization
string
header
required

API token from your CloudBlast account settings. Pass as Authorization: Bearer <token>.

Path Parameters

worker
string<uuid>
required

Worker UUID, as returned in the uuid field.

Body

application/json

Every field is optional. Only what you send is changed.

name
string
Maximum string length: 191
git_repository
string
Maximum string length: 500
git_source
enum<string>
Available options:
public,
github,
template,
database
git_branch
string | null
Maximum string length: 191
build_pack
enum<string>
Available options:
nixpacks,
static,
dockerfile
ports_exposes
string | null
Maximum string length: 64
base_directory
string | null
Maximum string length: 255
publish_directory
string | null
Maximum string length: 255
install_command
string | null
Maximum string length: 1000
build_command
string | null
Maximum string length: 1000
start_command
string | null
Maximum string length: 1000
is_spa
boolean
redeploy
boolean
default:false

Rebuild straight away so the new settings take effect.

Response

Updated worker

data
object