# Deleting Application token

**URL:** <https://forum.ansible.com/t/deleting-application-token/33089>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [June 4, 2020, 7:01am UTC](https://forum.ansible.com/t/deleting-application-token/33089 "2020-06-04T07:01:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ivan\_Todorovic](https://avatars.discourse-cdn.com/v4/letter/i/4af34b/32.png) [@Ivan\_Todorovic](https://forum.ansible.com/u/Ivan_Todorovic)\
**Post date:** [June 4, 2020, 7:01am UTC](https://forum.ansible.com/t/deleting-application-token/33089/1 "2020-06-04T07:01:30Z")

</div>

Hello,

While creating application token by hitting the AWX API with four parameters (username, password, application ID, user ID) I have by mistake entered wrong username, but correct application ID and user ID.

After noticing this, I’ve repeated the procedure with correct username, but now this Application has two tokens, and there is no option the GUI to delete the previous token. Is there some other way to delete this unwanted token?

Regards,  
Ivan Todorovic

---

<div class="post-metadata">

**Author:** ![Cesar\_Sanchez1](https://avatars.discourse-cdn.com/v4/letter/c/cdc98d/32.png) [@Cesar\_Sanchez1](https://forum.ansible.com/u/Cesar_Sanchez1)\
**Post date:** [June 4, 2020, 9:15pm UTC](https://forum.ansible.com/t/deleting-application-token/33089/2 "2020-06-04T21:15:59Z")

</div>

Did you try the /revoke\_token api endpoint? Check the documentation.

-Cesar

---

<div class="post-metadata">

**Author:** ![Ivan\_Todorovic](https://avatars.discourse-cdn.com/v4/letter/i/4af34b/32.png) [@Ivan\_Todorovic](https://forum.ansible.com/u/Ivan_Todorovic)\
**Post date:** [June 5, 2020, 12:51pm UTC](https://forum.ansible.com/t/deleting-application-token/33089/3 "2020-06-05T12:51:34Z")

</div>

Thanks for pointing me into right direction, found this:

[/api/v2/tokens/{id}/](https://docs.ansible.com/ansible-tower/latest/html/towerapi/api_ref.html#/operations/Authentication/Authentication_tokens_delete)  
Delete an Access Token

Make a DELETE request to this resource to delete this access token.

#### Parameters
