> For the complete documentation index, see [llms.txt](https://bump.sh/nethesis/doc/nethcti-middleware/llms.txt)

# Revoke user integration tokens (Super Admin only)

> DELETE /admin/tokens/persistent/{username}/{audience}
> 
> Revoke the user tokens of the audience. With `all`, every user token is
> revoked (web, desktop and integrations) together with the session, so every
> client has to log in again. It succeeds also when there is nothing to revoke.



## Servers
- Local development server: http://localhost:8080 (Local development server)
- Production server: https://middleware.example.com/api (Production server)


## Authentication methods
- Super admin auth


## Parameters

### Path parameters

- **username** (string)
  Target user (case insensitive)

- **audience** (string)
  Integration token audience. `all` is accepted only by DELETE.




## Responses
### 204
Tokens revoked

### 400
Invalid username or audience


[Powered by Bump.sh](https://bump.sh)
