Light Logo
Variables

Delete a variable

Delete a variable by its name.

DELETE
/variables/{variable_name}
AuthorizationBearer <token>

In: header

Path Parameters

variable_nameVariable Name

The name of the variable to delete.

Response Body

curl -X DELETE "https://api.wrift.ai/v1/variables/string"
Empty
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}