GitLab API

GitlabTool

Actions1095

Groups → postApiV4GroupsIdTokensRevoke

AI-generated

Summary

Revokes the access token for a specific group in GitLab.

Inputs

  • skipAuthentication — If true, skips the GitLab API authentication credentials.
  • baseUrl — The base URL of the GitLab instance (default: https://gitlab.com).
  • id (required) — The ID of the top-level group for which the access token should be revoked.

Output shape

no body — success or failure only

Returns a success response or an error if the group ID is invalid or the request fails.

Examples

Example 1: Revoke a personal access token for group ID 123

Set Path Parameter 'id' to '123' and 'skipAuthentication' to false.

Example 2: Use a custom GitLab server URL

Set 'baseUrl' to your GitLab instance URL (e.g., https://gitlab.example.com).

Links

Discussion