Update a project
const url = 'https://app.nurseshark.org/api/projects/example';const options = { method: 'PATCH', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"name":"example","summary":"example","description":"example","status":"idea","tags":["example"],"repo_url":"example","url":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://app.nurseshark.org/api/projects/example \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "example", "summary": "example", "description": "example", "status": "idea", "tags": [ "example" ], "repo_url": "example", "url": "example" }'Changes only the fields sent. Send name to rename the project; its slug changes to match. Set status to archived to retire it.
Same as the update_project MCP tool.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Name, slug or UUID of the project.
Request Body
Section titled “Request Body”object
Rename the project. Its slug changes to match.
One line saying what the project does, e.g. “CLI that renames photos by EXIF date”.
A few paragraphs of plain text: purpose, how it works, stack, how to run it.
Defaults to active.
Short lowercase labels such as language, framework, or area (e.g. rails, cli, home-automation).
Http(s) URL of the source repository.
Http(s) URL where the project is deployed or documented.
Responses
Section titled “Responses”OK
object
object
Globally unique and never changes, even when the project is renamed.
Lowercase with hyphens between words, e.g. whale-shark.
Unique among the account’s projects. Use it, the name or the UUID to look the project up.
One line saying what the project does, e.g. “CLI that renames photos by EXIF date”.
A few paragraphs of plain text: purpose, how it works, stack, how to run it.
Defaults to active.
Short lowercase labels such as language, framework, or area (e.g. rails, cli, home-automation).
Http(s) URL of the source repository.
Http(s) URL where the project is deployed or documented.
The theme the name came from, if one was given when the project was created.
Picked at random when the project is created.
An SVG square in the project’s color, to use as its favicon.
Newest first. Only from getting one project, which includes 10 unless notes says otherwise.
object
Example
{ "project": { "status": "idea" }}The token is missing, invalid or expired.
object
What went wrong and what to change.
For validation failures, the messages for each field.
object
Example generated
{ "error": "example", "errors": { "additionalProperty": [ "example" ] }}No project with that name, slug or UUID belongs to this account.
object
What went wrong and what to change.
For validation failures, the messages for each field.
object
Example generated
{ "error": "example", "errors": { "additionalProperty": [ "example" ] }}The request was understood but can’t be done, for example a value over its limit or a name already in use. error says what to change.
object
What went wrong and what to change.
For validation failures, the messages for each field.
object
Example generated
{ "error": "example", "errors": { "additionalProperty": [ "example" ] }}Over the rate limit. Try again in a minute.
object
What went wrong and what to change.
For validation failures, the messages for each field.
object
Example generated
{ "error": "example", "errors": { "additionalProperty": [ "example" ] }}