GitLab API icon

GitLab API

Gitlab

Actions1062

Groups → postApiV4GroupsIdTokensRevoke

AI-generated

Summary

Revoke an access token for a specified top-level GitLab group by sending a POST request to the group's tokens revoke endpoint.

Inputs

  • Id (required) — The ID of the top-level GitLab group for which the access token should be revoked.

Output shape

a JSON response confirming revocation or an error message

The operation sends a POST request to /api/v4/groups/{id}/tokens/revoke and returns the API response body. Requires authentication via GitLab API credentials unless explicitly skipped.

Links

Discussion