Delete Multiple Projects
DELETE /projects/bulk/{ids}
— Use this method to delete the project records with the specified internal IDs.
Parameters
Path parameters
Path parameter |
Required / Optional |
Description |
Type |
---|---|---|---|
|
Required |
A comma-separated list of internal IDs for projects. The list must not include more than 100 project IDs. |
integer |
Query string parameter
Path parameter |
Required / Optional |
Description |
Type |
---|---|---|---|
|
Optional |
The internal ID of the filter set to be applied.
|
integer |
Response definitions
A successful request returns a JSON object with the following properties:
Property |
Description |
---|---|
|
An array containing an object with key-value pairs, where:
|
|
A string containing a brief message about the status of your request — for example, |
Sample request
DELETE /rest/v1/projects/bulk/237,327,372 HTTP/1.1
Host: company-id.app.netsuitesuiteprojectspro.com
Authorization: Bearer <OAuth2_access_token>
In the example, <OAuth2_access_token>
is the OAuth 2.0 access token obtained for the client application connecting to SuiteProjects Pro. See Authentication.
Sample response
{
"data": [
{
"1": {
"data": [ {"id": "237"}],
"message": "success"
},
"2": {
"data": [ {"id": "327"}],
"message": "success"
},
"3": {
"data": [ {"id": "372"}],
"message": "success"
}
}
],
"message": "success"
}