Skip to main content
POST
/
projects
/
update_status
Update project status
curl --request POST \
  --url https://{your-workspace}.neetoinvoice.com/api/external/v1/projects/update_status \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <x-api-key>' \
  --data '
{
  "project_ids": [
    "71f70673bc9d5da257b1",
    "d7d528165ae68ad3d1db"
  ],
  "status": "archived",
  "email": "[email protected]",
  "filter": {
    "status": "active",
    "consider_all_projects": false
  }
}
'
{
  "custom_message": "<string>"
}
Replace {your-workspace} with your workspace’s subdomain.
Learn how to find your subdomain in Identifying your subdomain.

Headers

X-Api-Key
string
default:your-api-key
required

X-Api-Key is used to authenticate requests using an API key. Provide your API key in this header to access protected endpoints. Refer to Authentication for more information.

Body

application/json
project_ids
string<uuid>[]
required

Array of project IDs to update status for. Refer to Getting the Project ID section for detailed instructions.

Example:
[
"71f70673bc9d5da257b1",
"d7d528165ae68ad3d1db"
]
status
enum<string>
required

New status for the projects.

Available options:
active,
archived
Example:

"archived"

email
string<email>
required

Email of the user performing the status update.

filter
object

Optional filter parameters for bulk status updates.

Response

200 - application/json

OK - Request succeeded

custom_message
string