Delete a bulk of projects using the external IDs
Delete a bulk of projects from your company using external Ids.
PUT projects/delete/external/bulk/:companyExternalId
Request details
The put request will contain all the required information to delete a bulk of projects using external Ids from a specific company.
Request properties
Property | Type | Description | Optional |
---|---|---|---|
projectId [] | string [] | An array of external identifiers of projects | No |
Example bulk delete projects request
[ "00000000-0000-0000-0000-000000000000", "00000000-0000-0000-0000-000000000000", "00000000-0000-0000-0000-000000000000", "{project-external-id}" ]
Response
Upon successful delete a bulk of projects in Basecone system a 200 http status code will be returned.
If something goes wrong and error message with failure details will be given together with a suitable http error status code.
Possible error responses
Status code | Error code | Details |
---|---|---|
400 | json_parse_error | Unable to parse JSON. |
400 | invalid_request_payload | One or more projects Id are empty |
403 | Forbidden | User does not have access to one or more projects companies |
404 | Not Found | The request resource is not found. |