api/docs/project/delete.md

28 lines
788 B
Markdown
Raw Normal View History

# `/project/delete` - DELETE
Deletes a project.
## HTTP Headers
| Header | Content |
|---------------|--------------------|
| Authorization | `Bearer {token}` |
## Urlencoded Parameters
You have to set one parameter.
Setting none or two parameters will result in a _400 Bad Request_ Response.
| Parameter | Description |
|-----------|--------------------|
| name | The projects name. |
| id | The projects id. |
## Responses
### 200 - Success
Successfully deleted the project.
### 400 - Error: Bad Request
The request was malformed.
### 401 - Error: Unauthorized
The provided access token doesn't allow you to perform this operation.
### 403 - Error: Forbidden
2023-09-10 01:02:42 +00:00
Blocked for security reasons.
### 404 - Error: Not Found
The project wasn't found.