---
title: "Regenerate Css"
method: POST
path: "/wordpress/sites/{site_id}/regenerate-css"
tags: ["wordpress"]
---

# Regenerate Css

`POST /wordpress/sites/{site_id}/regenerate-css`

## Request

- Base URL: `https://api.xeorank.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.xeorank.com/wordpress/sites/{site_id}/regenerate-css`
- Auth: API key in header `X-Agent-Key`

Clear Elementor's CSS cache and bump the versioned per-post CSS files.

Every write path already does this automatically. This exists for the case
the automatic pass cannot cover: a stale versioned `post-<id>.css` still being
served from a CDN or page cache after a change landed correctly.

## Path parameters

- `site_id` string, uuid, required

## Query parameters

- `email` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/xeorank/apis/seo-intelligence-engine.md) · [All operations](https://skmtc.dev/xeorank/apis/seo-intelligence-engine/llms.txt) · [OpenAPI document](https://skmtc.dev/xeorank/apis/seo-intelligence-engine/revisions/449a3fd73454?raw)
