Delete a project documentation article
Soft deletes a project documentation article. The article is marked as deleted and will no longer appear in list queries, but it is not permanently removed from the database.
Deletion behavior:
- Article is marked with a deletedAt timestamp
- Article will not appear in GET list queries
- Article details can still be retrieved directly by ID if needed
- Data is preserved for potential recovery or audit purposes
Permissions:
- Requires “manageDocumentation” permission for the project
DELETE
/projects/documentation/{id}Authorization
AuthorizationOAuth2 access token · headerrequiredScopes:
api:writeor
AuthorizationBearer token (JWT) · headerrequiredPath parameters
idstringrequiredResponses
200
successbooleanrequiredOperation success flag
401Unauthorized - Invalid or missing authentication token
403Forbidden - Insufficient API scopes or permissions
Request
curl -X DELETE "https://leadtime.app/api/public/projects/documentation/string" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"const response = await fetch("https://leadtime.app/api/public/projects/documentation/string", {
method: "DELETE",
headers: {
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
}
});import requests
response = requests.delete(
"https://leadtime.app/api/public/projects/documentation/string",
headers={
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
},
)Response
{
"success": true
}Unauthorized - Invalid or missing authentication token
Forbidden - Insufficient API scopes or permissions