# Delete a tenant variable

Source: https://www.jawsdeploy.net/rest-api/project-tenant-variable-template-delete | Section: Tenant Variables

Delete a tenant variable from a project.

`DELETE /api/project/tenant-variable-template`

Deletes a tenant variable. The values tenants gave it are no longer shown or used, and its name can be used again.

## Parameters

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `templateId` | query | string | yes | ID of the tenant variable. |

## Errors

| Status | Meaning |
|---|---|
| 400 | Invalid `templateId`. |
| 401 | Missing or invalid Basic auth credentials, or the service account can't edit this project. |

Example request:

```
DELETE /api/project/tenant-variable-template?templateId=tvt_db HTTP/1.1
Authorization: Basic <base64(serviceAccountId:apiKey)>
```

Example response:

```
{}
```

