PATCH
https://api.craftkit.dev/v1/projects/{id}slug or breaks existing
project-key integrations.
Authorization
Bearer ck_acct_… — must own the project.Path
The project id (UUID).
Body
New display name (1–200 chars).
Response
200 — the full project, slug unchanged:
Unchanged — renaming never recomputes the slug.
The new name.
Errors
Ownership is resolved before the body is read, so an id you don’t own returns404 even if the
body is also invalid.
| Status | code | Meaning |
|---|---|---|
| 400 | invalid_json | Body is not valid JSON. |
| 400 | invalid_request | name missing, empty, or over 200 chars. |
| 401 | unauthorized | Missing/invalid account key. |
| 404 | not_found | No such project owned by this account. |
cURL
200