---
title: "removeAccessToken"
canonical: "https://support.appfire.com/space/SCLI/73371276/removeAccessToken"
format: markdown
---
See also: [Actions](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73368507)

> Macro (details)
> 
> | **Description** | Remove an access token for a user by name or id. Defaults to current user. If there are multiple tokens with the same name, only the first one will be removed. |
> | --- | --- |
> | **Required Parameters** | [name](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73368765) |
> | **Optional Parameters** | [user](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73368661) |
> | **Type** | [Delete](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73370540/Action+Types#ActionTypes-Delete) |
> | **Category** | [Credentials](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73371318/Action+Categories#ActionCategories-Credentials) |
> | **Output Formats** |  |
> | **Replacement Variables** |  |
> | **Hosting** | server,datacenter |
> | **Since Version** |  |
> | **Examples** | [removeAccessToken](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73371753/Examples#Examples-removeAccessToken) |

## Related How To's

> Macro (cql-query)