Skip to main content

delete_variable

Delete a variable. The name is case-sensitive.

Request

DELETE /api/v1/ops/projects/{project}/variables/{name}
ParameterInTypeRequiredDescription
projectpathstringyesThe project's public id.
namepathstringyesThe variable name (case-sensitive).
curl -X DELETE -H "Authorization: Bearer $TESTVIBE_API_KEY" \
"$TESTVIBE_SERVER/api/v1/ops/projects/$PROJECT/variables/BASE_CURRENCY"

Response

{ "ok": true, "name": "BASE_CURRENCY" }

Errors

HTTPWhen
404 not_foundNo such project, or no variable with that name.