Rename Project
A 3-step recipe with Sanity. We can help you get access.
Recipe · 3 steps
Rename Project
with Sanity
Update a project's display name and metadata and confirm the change.
- Read the project to capture its current display name.
- Patch the project's display name and metadata.
- Re-read the project to confirm the new settings took effect.
What you'll need to have ready
- apiToken: Sanity management API token used as a Bearer credential.
- projectId: The project id to update.
- displayName: The new human-readable display name for the project.
- metadata: Optional metadata object to set on the project.
For your developer
Arazzo workflow sanity:rename-project, 3 operations: getProject → updateProject → getProject. Specs on APIs.io.