Notes API
"Notes" in the web interface are referenced as "pages" from API endpoints.
Unpublish a note from knowledge bases
POST /api/v1/pages/:id/unpublish
Unpublishes the note from every knowledge base that contains it. Unpublishing is immediate, but is not recursive.
| Name | Description |
|---|---|
id * | Numeric ID of the note |
Example request
POST /api/v1/pages/1051981226/unpublishExample CURL command
curl "https://company.aha.io/api/v1/pages/1051981226/unpublish" -d '' -X POST \
-H "Authorization: Bearer 15b60d42d4bc417284a246ced6877b0bf13fb4aca415f7b55f7006bc3694a8ab" \
-H "Content-Type: application/json" \
-H "Accept: application/json"Request
authorization: Bearer 15b60d42d4bc417284a246ced6877b0bf13fb4aca415f7b55f7006bc3694a8ab
contentType: application/json
accept: application/json
Response
Status: 200 OK
contentType: application/json