GitLab API

GitlabTool

Actions1095

Runners → postApiV4RunnersResetAuthenticationToken

AI-generated

Summary

Reset the authentication token of GitLab runners by making a POST request to the /api/v4/runners/reset_authentication_token endpoint.

Inputs

  • skipAuthentication — Optionally skip authentication for the request (default is false).
  • baseUrl — Base URL of the GitLab instance (default is https://gitlab.com).
  • method (required) — HTTP method to use; must be POST for this operation.

Output shape

a JSON response object containing the updated runner information including the new authentication token

The operation requires authentication by default unless skipAuthentication is set to true. The response body schema corresponds to the runner object returned by GitLab's API after the authentication token reset.

Examples

Example 1: Reset runner authentication token

Set 'Resource' to 'Runners' and 'Operation' to 'postApiV4RunnersResetAuthenticationToken'. Optionally adjust 'baseUrl' if targeting a self-hosted GitLab instance. Ensure correct authentication credentials are provided unless skipping authentication.

Links

Discussion