Content
View differences
Updated by Max Mutzge about 5 years ago
**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>
**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>