# Feature OP-8608 - Option to delete access token (API key)

Project: OpenProject
Status: new
URL: https://community.openproject.org/work_packages/OP-8608

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | Wish List |
| Sprint |  |
| Backlog bucket |  |
| Votes | 1 |
| List | UX/UI |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

_No work packages_

## Technical Details

| Attribute | Value |
| --- | --- |
| Module |  |
| Feature Flag |  |
| Requires doc change | Yes |
| Enterprise plan |  |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Feature Lead |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work |  |
| Labor costs |  |

## Description

**As** an OpenProject user trying out access via API  
**I want to** delete access tokens instead of generating a new one when I click on the trash can symbol  
**so that** there's no active access token if I don't want there to be one.

Use case example: After creating an access token my IT department says "You mustn't use API", but now I can't go back or delete the API key, I can only generate a new one that's still "out there".

**Acceptance criteria**

  - Offer two buttons instead of one: Reset and delete
  - Make the icon(s) clearer (trash can symbol looks like I could delete a token forever)
  - To be discussed: Add option to set expiry date for token

<figure class="image op-uc-figure" style="width:50%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/21121/content"></div></figure>
