Creative Library — Rename Slug
creative_update_slugChange an article slug and 301 the old URL at the new one. Never leaves two live URLs. Refuses a new slug ending in a year, a slug already in use, and any article whose draft is ahead of what is published (renaming republishes). Use this instead of saving a second article under a new slug.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | The current slug. | |
| shelf | Yes | The article shelf. Slug changes do not move shelves. | |
| new_slug | Yes | The new slug. Must not end in a year. |