GitLab API icon

GitLab API

Gitlab

Actions1062

Jobs → putApiV4JobsId

AI-generated

Summary

Update a GitLab job via a PUT request to /api/v4/jobs/{id}.

Inputs

  • id (required) — Job's ID (path parameter).
  • requestBody (required) — Request body conforming to the putApiV4JobsId schema (see OpenAPI definition).
  • skipAuthentication — If true, bypass authentication; otherwise uses the gitlabApi credential (default false).
  • baseUrl — Base URL of the GitLab instance (defaults to https://gitlab.com).
  • method — HTTP method to use (GET, POST, PUT, DELETE, HEAD, PATCH). Normally left at its default to match the operation; default is GET.

Output shape

object

Returns the JSON response from GitLab, typically the updated job object.

Examples

Example 1: Update job 42 with a new description

Set id=42, provide request body {description: 'new desc'}, keep authentication and baseUrl defaults, leave method default.

Links

Discussion