Skip to main content
PATCH
/
api
/
v1
/
projects
/
{id}
Update project
curl --request PATCH \
  --url https://neo.api.projectdiscovery.io/api/v1/projects/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "settings_md": "<string>",
  "shared_with_team": true,
  "tags": [
    "<string>"
  ]
}
'
{
  "project": {
    "created_at": "2023-11-07T05:31:56Z",
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "member_count": 1,
    "name": "<string>",
    "owner_email": "jsmith@example.com",
    "settings_md": "<string>",
    "shared_with_team": true,
    "tags": [
      "<string>"
    ],
    "task_count": 1,
    "updated_at": "2023-11-07T05:31:56Z",
    "is_owner": true,
    "issue_count": 1,
    "issues_by_severity": [
      {
        "count": 123,
        "label": "<string>"
      }
    ],
    "issues_by_status": [
      {
        "count": 123,
        "label": "<string>"
      }
    ],
    "shared_team_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  }
}

Authorizations

Authorization
string
header
required

JWT authentication token

Path Parameters

id
string
required

Project ID

Body

application/json
name
string

New project name

Required string length: 1 - 128
settings_md
string

Replace the project's settings markdown. Omit to leave unchanged; send an empty string to clear. Values longer than 35k characters are truncated by the API and suffixed with "[truncated] max char limit 35k".

shared_with_team
boolean

Share this project with all current and future accepted members of the project owner's team

tags
string[]

Replace the project's tag set. Each tag is trimmed and must be non-empty (max 32 chars, no control characters); the array is capped at 20. Replace semantics - PATCH overwrites the column. The agent's metadata generator may add to this set on subsequent task fires, but never removes user-set tags.

Response

Project updated

project
object
required