gitlab_pages

Create Pages domain

Creates a Pages domain in a specified project. You must have permissions to create Pages domains.

post/api/v4/projects/{id}/pages/domains

Request

  • Base URL
    https://gitlab.com
  • Auth
    none declared

Path parameters

idstring required

The ID or URL-encoded path of the project owned by the authenticated user

Request body

domainstring required

The domain

certificatestring binary

The certificate

keystring binary

The key

auto_ssl_enabledboolean

Enables automatic generation of SSL certificates issued by Let's Encrypt for custom domains.

user_provided_certificatestring
user_provided_keystring

Response

Create Pages domain

domainstring required
urlstring required
verifiedstring required
verification_codestring required
enabled_untilstring required
auto_ssl_enabledstring required

Changes

No recorded changes to this operation across all 5 revisions of this API.