Skip to content

Delete instance variable

DELETE
/api/v4/admin/ci/variables/{key}

Deletes a specified instance variable.

key
required
string

The key of a variable

No Content

Media type application/json
object
variable_type
string
key
string
value
string
hidden
boolean
protected
boolean
masked
boolean
raw
boolean
environment_scope
string
description
string
Example
{
"variable_type": "env_var",
"key": "TEST_VARIABLE_1",
"value": "TEST_1",
"environment_scope": "*",
"description": "This variable is being used for ..."
}

Bad Request

Instance Variable Not Found