GitLab API icon

GitLab API

Gitlab

Actions1062

Deploy_keys → putApiV4ProjectsIdDeployKeysKeyId

AI-generated

Summary

Updates an existing deploy key for a specified GitLab project using PUT request to /api/v4/projects/{id}/deploy_keys/{key_id}.

Inputs

  • skipAuthentication — When set to true, skips adding authentication credentials to the request.
  • baseUrl — Base URL of the target GitLab instance. Defaults to https://gitlab.com.
  • pathParameters.id (required) — The ID or URL-encoded path of the project owned by the authenticated user.
  • pathParameters.key_id (required) — The ID of the deploy key to update.

Output shape

a single object

Returns the updated deploy key record returned by the GitLab REST API.

Examples

Example 1: Update deploy key parameters for a project

Set pathParameters.id to '42' or 'group/project' and pathParameters.key_id to '101'.

Links

Discussion