curl --request DELETE \
--url https://api.example.com/projects/{project_id} \
--header 'Authorization: Bearer <token>'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Delete a project (soft delete).
Parameters:
Returns:
Note: This will manually unlink all records from the project by setting their project_id to NULL, since ondelete=‘SET NULL’ only works with physical deletion, not soft deletion.
curl --request DELETE \
--url https://api.example.com/projects/{project_id} \
--header 'Authorization: Bearer <token>'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Was this page helpful?