---
title: "tempoDeleteAllocationForUser"
canonical: "https://support.appfire.com/space/PSJ/15486798/tempoDeleteAllocationForUser"
format: markdown
---
> Macro (aura-html)


> 📝 The use of this function requires the SIL Tempo Connector add-on (free) be installed.

|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | tempoDeleteAllocationForUser(user, startDate, endDate[, issueKey]) | **Package** | tempo |
| **Alias** |  | **Pkg Usage** | deleteAllocationForUser(user, startDate, endDate[, issueKey]) |

> ❌ Note that this function is only available if the Tempo Planner add-on is installed.

## Description

> Macro (excerpt)
> 
> This function deletes the allocation for a given user between specified dates, optionally filtering for a given issue.

This function deletes the allocation for a given user between specified dates, optionally filtering for a given issue.

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| user | String | Yes | The user you are deleting the allocations for. |
| startDate | Date | Yes | The start date; mandatory. |
| endDate | Date | Yes | The stop date; mandatory. |
| issueKey | String | No | The issue key to delete allocation |

## Return Type

**[TempoAllocation []](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15485649)**

## See also

> Macro (contentbylabel)

> Macro (fc909b09-b512-4c31-a844-dd855b0e6aae/db1c8759-c7e5-4e80-9022-d19e47b0e2b0/static/macro)