Rename document identifier
Rename a published document’s identifier. The change is applied live and immediately. Changes do not go through the draft/publish workflow. The former identifier is recorded in the document’s rename history to enable automatic redirects. Only published documents can be renamed.
The new identifier must be a valid slug and unused by any other document in the organization. If the new value is identical to the existing value (case-sensitive), the API will return a 200 but not write a history record.
Authorizations
Can be either an Organization API Key or Personal Access Token (PAT).
Include in the Authorization header as: Bearer YOUR_TOKEN
Path Parameters
Document identifier — either the URL slug (e.g. abc123) or the canonical workbook UUID.
Body
Document identifier slug. Must be 2–48 characters, containing only lowercase letters (a-z), digits (0-9), hyphens (-), and underscores (_). Cannot be a reserved value. If omitted when creating a document, an identifier is auto-generated.
2 - 48^[a-z0-9_-]+$"q2-revenue"

