GitLab API

GitlabTool

Actions1095

Deploy_keys → postApiV4ProjectsIdDeployKeys

AI-generated

Summary

Creates a deploy key for a GitLab project by sending a POST request to /api/v4/projects/{id}/deploy_keys. Provide the project ID or URL-encoded path in Path Parameters; the operation requires a request body, but its fields are not exposed in the supplied properties.

Inputs

  • Skip Authentication — Whether to skip authentication; defaults to false. When authentication is enabled, the GitLab API credential is required.
  • Base URL — Defaults to https://gitlab.com; the source indicates the actual base URL is defined by the GitLab API credential.
  • Method — HTTP method selector with a default of GET. The operation path suggests POST, but the source pack does not show how this selector is used at runtime.
  • Path Parameters: Id (required) — The ID or URL-encoded path of the project owned by the authenticated user.

Output shape

A single response from the GitLab API.

The parameter schema declares a required request body, but no body fields are exposed in the supplied operation properties. The source pack does not show response shaping or the HTTP method used at runtime.

Links

Discussion