Delete a project
DELETE/api/projects/:id
Required permissions:
- pipeline.delete: to delete project where the user is PM or Account
- pipeline.delete_other: to delete project where the user is not PM nor Account
Here the dedicated support page.
Request
Path Parameters
id integerrequired
The ID of the project to delete
Header Parameters
Wethod-Company stringrequired
The company you want to interact with
Wethod-Version stringrequired
The API version you want to use
Responses
- 200
- 400
- 401
- 403
- 404
Project successfully deleted.
Validation failed
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
key string
Error unique key
message string
Human-readable message describing the error
failures
object[]
List of validation errors
field string
Name of the field causing the error
message string
Human-readable description of the error
{
"key": "invalid_data",
"message": "You provided invalid data. Check 'failures' for details.",
"failures": [
{
"field": "string",
"message": "string"
}
]
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
key string
Error unique key
message string
Human-readable message describing the error
{
"key": "string",
"message": "string"
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
key string
Error unique key
message string
Human-readable message describing the error
{
"key": "string",
"message": "string"
}
Not found
- application/json
- Schema
- Example (from schema)
Schema
key string
Error unique key
message string
Human-readable message describing the error
{
"key": "not_found",
"message": "string"
}
Loading...