Skip to main content
PUT
Update project parameters
Changes are saved to the branch but not committed. To commit them, use the commit changes API. You can only update parameters that already exist. The request fails if it names a parameter that doesn’t exist (Parameters do not exist) or changes a parameter’s type (Parameter types cannot change).

Headers

X-AUTH-TOKEN
string
required

Prophecy authentication token. Required for all API requests.

Path Parameters

projectId
string
required

The unique ID of the project

Query Parameters

branch
string

Branch to update. If omitted, Prophecy updates your working branch.

Body

application/json

The project parameters to update, in the same shape as the project's parameter configuration. Every field is optional, so you can send only the fields you want to change.

schema
object

Updated default values for existing parameters, in the parameter configuration's record format. You can't add parameters or change a parameter's type.

parameterSets
object[]

Parameter sets to create or update. Values merge into a set with the same name; a set with a new name is added.

currentParameterSet
string

Name of the parameter set to make the default.

Response

Parameters updated

success
boolean
msg
string
branch
string

The branch that was updated.

files
string[]

Project files that changed.