GitLab API icon

GitLab API

Gitlab

Actions1062

Projects → putApiV4ProjectsIdPagesDomainsDomainVerify

AI-generated

Summary

Verify a custom domain for GitLab Pages within a specific project by sending a PUT request to the GitLab API endpoint.

Inputs

  • Id (required) — The ID or URL-encoded path of the project owned by the authenticated user.
  • Domain (required) — The custom domain to verify for the project's GitLab Pages.
  • Skip Authentication — Optional flag to bypass authentication.

Output shape

a single record representing the verification response from GitLab Pages domain verification API.

The operation returns the direct response from the PUT request to /api/v4/projects/{id}/pages/domains/{domain}/verify. Authentication is required unless 'Skip Authentication' is set to true.

Examples

Example 1: Verify a domain 'example.com' for project with id '1234'.

Set 'Id' to '1234' and 'Domain' to 'example.com', ensure authentication is enabled, then run the operation.

Links

Discussion