GitLab API

GitlabTool

Actions1095

Users → deleteApiV4UsersUserIdImpersonationTokensImpersonationTokenId

AI-generated

Summary

Delete a specified impersonation token for a given user by their user ID and impersonation token ID.

Inputs

  • user_id (required) — The ID of the user whose impersonation token is to be deleted.
  • impersonation_token_id (required) — The ID of the impersonation token to delete.
  • baseUrl — The base URL of the GitLab instance; defaults to https://gitlab.com.
  • skipAuthentication — Optionally skip authentication; defaults to false and uses GitLab API credentials.

Output shape

no body — success/failure only

Operation performs a DELETE HTTP request to the GitLab API endpoint /api/v4/users/{user_id}/impersonation_tokens/{impersonation_token_id}. It does not return data in the response body; success or failure is indicated by HTTP status code.

Links

Discussion