- API reference
- Help articles
Move a help article to the trash
DELETEhttps://app.notert.io/api/v1/help-articles/{id}
Moves an article to the trash, as the token's holder, as Move to trash in its editor does: it leaves every list, the board and every read at once. The team can restore it, as it was, from the help center's trash in the app for 30 days, after which it is deleted for good. One in the trash already, as after a call sent again, is NOT_FOUND, as any trashed article is here. Answers its id.
A token with help:manage. How to send one
Request
curl -X DELETE https://app.notert.io/api/v1/help-articles/4b1c6e2a-9d3f-4a5b-8c7e-1f2a3b4c5d6e \
-H "Authorization: Bearer $NOTERT_API_TOKEN"Response 200
{
"id": "4b1c6e2a-9d3f-4a5b-8c7e-1f2a3b4c5d6e"
}Path parameters
idstringRequiredThe article's id.
At most 64 characters.
Response 200
idstringThe article's id.
Errors
- 400
BAD_REQUESTInput validation failed. - 401
UNAUTHORIZEDSend a valid API token as a Bearer token. - 403
HOLDER_NOT_ALLOWEDThe teammate who holds this API token's secret can't do this in the workspace now. A teammate who can should roll it in the workspace's settings. - 403
INSUFFICIENT_SCOPEThis API token can't publish, unpublish or trash help articles. Create one that may in the workspace's settings. - 403
NETWORK_NOT_ALLOWEDThis API token works only from the networks it was made for. Call from one of them, or create a token for this one in the workspace's settings. - 403
NO_SEATThis workspace's plan has no seat for you. - 403
WORKSPACE_SUSPENDEDThis workspace is suspended. - 404
NOT_FOUNDNot Found. - 409
CHANGED_MEANWHILESomething changed meanwhile. Try again. - 429
TOO_MANY_REQUESTSToo Many Requests. Its data holdsretryAfter.
A refusal names its code beside a message. Rate limits says when to try again.