GitLab API

GitlabTool

Actions1095

Projects → postApiV4ProjectsIdPagesDomains

AI-generated

Summary

Create a new Pages domain for a specific GitLab project identified by its ID or URL-encoded path.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab project owned by the authenticated user where the Pages domain will be created.
  • postApiV4ProjectsIdPagesDomains (required) — The request body containing the details of the Pages domain to create for the project, matching the 'postApiV4ProjectsIdPagesDomains' schema.

Output shape

a JSON object representing the newly created Pages domain resource for the specified project

Requires authentication via 'gitlabApi' credential unless 'Skip Authentication' is enabled. The base URL defaults to 'https://gitlab.com' but can be changed. The operation POSTs to '/api/v4/projects/{id}/pages/domains' with path parameter 'id' and request body. Errors or validation issues will be returned according to GitLab API conventions.

Links

Discussion