Skip to main content
PATCH
/
api
/
v1
/
projects
/
{projectId}
curl -X PATCH \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name": "Updated Name", "icon": "Rocket", "color": "emerald"}' \
  https://cloud.specstory.com/api/v1/projects/proj_abc123
{
  "success": true,
  "data": {
    "name": "Updated Name",
    "icon": "Rocket",
    "color": "emerald"
  }
}

Documentation Index

Fetch the complete documentation index at: https://specstory.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Request

projectId
string
required
The unique identifier of the project
Authorization
string
required
Bearer token for authentication
name
string
New project name (1-255 characters)
icon
string
New project icon. Available options:
  • Code2, Terminal, Bot, Brain, Sparkles
  • Database, GitBranch, Bug, FolderKanban
  • Folder, Files, Library, BookOpen
  • Briefcase, Package, Layers, AppWindow
  • Rocket, Palette, Paintbrush, PenTool
  • Lightbulb, BarChart3, Settings, Globe
color
string
New project color. Available options:
  • rose, pink, orange, amber, emerald
  • cyan, blue, purple, slate, gray

Response

success
boolean
Indicates if the request was successful
data
object
curl -X PATCH \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name": "Updated Name", "icon": "Rocket", "color": "emerald"}' \
  https://cloud.specstory.com/api/v1/projects/proj_abc123
{
  "success": true,
  "data": {
    "name": "Updated Name",
    "icon": "Rocket",
    "color": "emerald"
  }
}