Skip to content

List all Pages domains

GET
/api/v4/pages/domains

Lists all Pages domains on the instance. You must have administrator access to the instance.

domain
string
nullable

The domain of the GitLab Pages site to filter on.

page
integer
default: 1 nullable

Current page number

Example
1
per_page
integer
default: 20 nullable

Number of items per page

Example
20

OK

Media type application/json
object
domain
string
url
string
project_id
string
verified
string
verification_code
string
enabled_until
string
auto_ssl_enabled
string
certificate_expiration
object
expired
string
expiration
string
Example generated
{
"domain": "example",
"url": "example",
"project_id": "example",
"verified": "example",
"verification_code": "example",
"enabled_until": "example",
"auto_ssl_enabled": "example",
"certificate_expiration": {
"expired": "example",
"expiration": "example"
}
}

Bad Request