GitLab API icon

GitLab API

Gitlab

Actions1062

Deploy_keys → postApiV4ProjectsIdDeployKeysKeyIdEnable

AI-generated

Summary

Enables an existing deploy key for a GitLab project by sending a POST request to /api/v4/projects/{id}/deploy_keys/{key_id}/enable. The request has no body. Set the Path Parameters with the project id and deploy key id. Use the GitLab API credential unless Skip Authentication is enabled; the baseUrl field defaults to https://gitlab.com, but the source indicates the credential's base URL is authoritative.

Inputs

  • id (required) — The ID or URL-encoded path of the project owned by the authenticated user. Enter it in the Path Parameters collection as Id.
  • key_id (required) — The ID of the deploy key. Enter it in the Path Parameters collection as Key_id. The API schema expects an integer, though the UI collection field is a string.

Output shape

Unspecified in the provided properties/source

No response transformation is declared in the provided source. The node passes through the GitLab API response for the enabled deploy key.

Links

Discussion