Pages API

Endpoints for managing GitLab Pages.

The GitLab Pages feature must be enabled to use these endpoints. Find out more about administering and using the feature.

Unpublish Pages


  • You must have administrator access to the instance.

Remove Pages.

DELETE /projects/:id/pages
idinteger/stringyesThe ID or URL-encoded path of the project owned by the authenticated user
curl --request 'DELETE' --header "PRIVATE-TOKEN: <your_access_token>" ""