Skip to main content

Upsert variables in a project

PUT 

/nevisadmin/api/v1/projects/:projectKey/variables

Required permission: MODIFY_PROJECT on the project, or higher scope

CREATE: If the list of items sent in the request body contains a new variableKey, a new variable will be created.

UPDATE: If the list of items sent in the request body contains a variableKey with a new different value, the variable will be updated.

DELETE: If variableDeletion is set to true, or if it is omitted, then any existing variables that are missing from the request body will be deleted. If variableDeletion is set to false, then variables will only be created or updated, but never deleted.

Request

Responses

Success