GitLab API icon

GitLab API

Gitlab

Actions1062

Runners → postApiV4RunnersResetAuthenticationToken

AI-generated

Summary

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

Inputs

  • skipAuthentication — Optionally skip using authentication credentials for the API request (default is false).
  • baseUrl — Specify the base URL for the GitLab instance (default is https://gitlab.com).

Output shape

a JSON object representing the response from the GitLab API, typically containing the updated runner information including the newly reset authentication token.

The operation requires a request body matching the 'postApiV4RunnersResetAuthenticationToken' schema to specify the parameters needed by the API. The authentication credential is mandatory unless 'skipAuthentication' is enabled. The baseUrl input allows overriding the default GitLab instance URL.

Links

Discussion