GitLab API

GitlabTool

Actions1095

Groups → postApiV4GroupsIdRunnersResetRegistrationToken

AI-generated

Summary

Reset the registration token for all runners of a specified GitLab group by sending a POST request to the GitLab API endpoint for group runners token reset.

Inputs

  • id (required) — The ID of the GitLab group for which the runners' registration token will be reset.
  • baseUrl — The base URL of the GitLab API. Defaults to https://gitlab.com.
  • skipAuthentication — Optionally skip authentication for this request. Defaults to false (authentication required).

Output shape

an object containing the updated runners registration token data for the specified group

The output is the direct response from POST /api/v4/groups/{id}/runners/reset_registration_token endpoint. Ensure the group ID is valid, and authentication is provided unless skipped. No pagination applies.

Examples

Example 1: Reset runners registration token for group with ID '1234'

Set the 'Id' path parameter to '1234', ensure authentication is enabled, and execute the operation to retrieve the new registration token data.

Links

Discussion