Skip to main content
PATCH
Deploy agent with code changes

Path Parameters

id
string
required

Agent UUID

Body

application/json
repo
string
required

The name of the repository

Example:

"my-repo"

message
string
required

The message of the commit

tree
object[]
required

The tree of the commit

Example:
branch
string
required

The branch of the commit

Example:

"main"

authorName
string

Git commit author name (from local git config)

Example:

"Danrley Silva"

authorEmail
string

Git commit author email (from local git config)

Example:

"danrley@example.com"

environment
enum<string>

Target environment for deploy. If not provided, defaults to production (backward compat with old CLI).

Available options:
staging,
production

Response

200

Agent deployed successfully.