GitLab API

GitlabTool

Actions1095

Deploy_keys → postApiV4ProjectsIdDeployKeysKeyIdEnable

AI-generated

Summary

Enables a deploy key for a project by sending a request to /api/v4/projects/{id}/deploy_keys/{key_id}/enable. The node uses its GitLab API credential unless authentication is skipped; its base URL comes from that credential, with https://gitlab.com as the declared default.

Inputs

  • Skip Authentication — Defaults to false. When true, skips the GitLab API credential; otherwise the credential is required.
  • Base URL — Defaults to https://gitlab.com. The node source says the base URL is defined by the GitLab API credential.
  • Method — HTTP method selector, declared with GET as the default. The operation path ends in /enable; the properties do not establish whether the selected method overrides the method associated with this API operation.
  • Path Parameters (required) — id: project ID or URL-encoded path; key_id: deploy key ID. Both are required by the declared parameter schema.

Output shape

A response from the GitLab API.

The supplied source only shows the node's OpenAPI-based setup, not the request execution or response schema, so the response shape and exact HTTP method are unspecified.

Links

Discussion