Skip to main content
PATCH
/
api
/
v1
/
environments
/
{environmentId}
/
variables
cURL
curl --request PATCH \
  --url http://localhost:52000/api/v1/environments/{environmentId}/variables \
  --header 'Content-Type: application/json' \
  --data '
{
  "removed": [
    123
  ],
  "updated": [
    {
      "id": 123,
      "key": "<string>",
      "value": "<string>",
      "active": true
    }
  ],
  "added": [
    {
      "key": "<string>",
      "value": "<string>"
    }
  ]
}
'

Path Parameters

environmentId
integer<int64>
required

Body

application/json
removed
integer<int64>[]
updated
object[]
added
object[]

Response

204

No Content