Delete a Project
Deletes a project. Once deleted, the project stops scanning and any further calls referencing the project ID will return 400 Invalid project ID!.
Endpoint
Section titled “Endpoint”DELETE /v1/project/delete/{project_id}Authentication
Section titled “Authentication”Bearer token from /login.
Authorization: Bearer <access_token>Path parameters
Section titled “Path parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
project_id | string | Yes | The ID of the project to delete. |
Example
Section titled “Example”curl -X DELETE "https://{pinokio-api-url}/v1/project/delete/<project_id>" \ -H "Authorization: Bearer <access_token>"Response
Section titled “Response”200 OK — the project was deleted.
Errors
Section titled “Errors”| Code | Cause |
|---|---|
422 | Validation error — project ID missing or malformed. |