Changes the @handle of a workspace, moving every report, drawer, folder, tag, membership, and subscription reference onto the new handle in one atomic step. Session cookie only — personal access tokens are not accepted; a Bearer-authenticated request returns 403. A personal workspace can only be renamed by its owner; an organization only by one of its admins. The previous handle is released immediately — there is no cooldown, no reservation, and no rate limit — so published links that used it stop resolving at once and the handle becomes available to anyone.
Body Parameters
ownerstringrequired
The workspace to rename, by its current handle.
newSlugstringrequired
The new handle. Same shape rules as POST /api/owners/create.