GitLab API icon

GitLab API

Gitlab

Actions1062

Projects → postApiV4ProjectsIdPagesDomains

AI-generated

Summary

Create a new domain for the GitLab Pages of a specified project by providing the project ID and domain details in the request body.

Inputs

  • Id (required) — The ID or URL-encoded path of the target project owned by the authenticated user.
  • postApiV4ProjectsIdPagesDomains (required) — The domain details to associate with the project's GitLab Pages, supplied in the request body.
  • Skip Authentication — Optionally skip authentication for this request; defaults to false.
  • baseUrl — The base URL of the GitLab instance, defaulting to https://gitlab.com.

Output shape

a single record

Returns the created GitLab Pages domain object associated with the specified project. The operation requires authentication unless Skip Authentication is enabled.

Links

Discussion