code: public void revokeImpersonationToken(Object userIdOrUsername, Integer tokenId) throws GitLabApiException {
  
          if (tokenId == null) {
              throw new RuntimeException("tokenId cannot be null");
          }
  
          Response.Status expectedStatus = (isApiVersion(ApiVersion.V3) ? Response.Status.OK : Response.Status.NO_CONTENT);
          delete(expectedStatus, null, "users", getUserIdOrUsername(userIdOrUsername), "impersonation_tokens", tokenId);
      }
docs: Revokes an impersonation token. Available only for admin users.
  
  <pre><code>GitLab Endpoint: DELETE /users/:user_id/impersonation_tokens/:impersonation_token_id</code></pre>
  
  @param userIdOrUsername the user in the form of an Integer(ID), String(username), or User instance
  @param tokenId the impersonation token ID to revoke
  @throws GitLabApiException if any exception occurs