Notes API

Unpublish an insight

POST /api/insights/unpublish

Parameters

Name Description
note_id Id of the Note being unpublished

Request

Headers

Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: _session_id=anRLWVBoYVljNTNWMklXR29JcVBHU240TEZNek1xV0NRbnQ1UnV4Mnl2dm1EVlhTMjBBbzNlVytHbG9VU0NGUlMxU040VnBMbGtNdjVxMmxzdGgvRVJ0VyttWk9pY3hqam1aYlFTMlVTZExocFJCZXF4R2NhK2pPNDFvd1pxbjJEWDUrejF5N2FPZjhCQyswVFMwdm5LR3dQdHVZSWI0ZEl4bDkwNCs1Y0xVKzFuRVBzMko5L1hCM2VycWRiNVg5WTdReXZWVVQvK0lvWlFjNjErZXFLN0hCWnF2b2hjTWszVHFtTitjeHZSekgzckEzTzJlaFJDb08rZFdtelBIYTBHTnUzVFdPaExkTjdLTldLZEhENEp6Smp3NWVsVnRtdmhCcWcvRTd3ZjZTYTVsbEZNbnByamFibHZ5Y1doQ3JtNXo2Q21DaitZVFRlUTRjanFJVWRoRWpPbFlFbmsrc1dvMytOUnZjMVlWK2RCNmdZTW5jcGdBZlM3dUNOV2xRam1SYzM0ZXlUTkUyb3JXTFZzZzcwYTQ0dkdtN29uaUxyNWVmc2FXcjRrbz0tLUw4dllLVTVJYWxLTGJZWHJGcTNsQmc9PQ%3D%3D--3fe534d63d16624bde221764e517b9f45ba69d41

Route

POST /api/insights/unpublish

Body

Response

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Content-Type: application/json; charset=utf-8
ETag: W/"d9ac89c341962eb36c7e80aaca013b72"
Cache-Control: max-age=0, private, must-revalidate
Set-Cookie: _session_id=anZxSE95b1NYamErNE5Na1hVNk5LOWUxdFNjTGVoOXpLVE5OWDNISkhDMFRJY1F4SThRbDg4R0UyM1hLcGVoTG5zU3F6dzFEcm13ejJoRm8rdDYvT3NCN1NYOTNtZGVhR0J4MzU5K2ZoR0U3bWE5VUtxQk5vQVArRVJ1ajh2TWY3bXJGWHRRSDlHemtoSzFiVkwvVUFNdmZMWFl5cTludXNtdVBJR2pwRmJzelZPa0loL3d6UTNsOHhobkcxTzRtZ2ZIdkQ1aWsreVlLbHR1WXp5WG5nNjRBYVZzdTkvK21zaXZsNlRuRmdTYkdRZUNZWCs1VmNyUHVOSGROQmJIQVZZdTZYZ2doVzFRZGI2MnRHNnpCZlRUQjduRmx0K0o5TWtkOW5BVkljY1lQMlVlcW5QeHc1bURGOElnYUNKL2l6QS9rT0hsUHFMNkF1NlcvNExSSVFLR01QNnBwMHlza2tNMnZ1azQ3Vy84WTRnRmliUUhreHd5OWtjZHA2d05jYnZNWnRyQlBGaUtaL3dTRys0bm5uRFpST3VNZml5b0FuTHFzZHEra0JiSmJRdzA1S0ViOXl0eDFZUlo1cVZnZy0tUXFCdUs1MW9CcWQzLzVlbDlZVTgxUT09--d11c1149f71b54daddec4dd5471fe01bc03b72ca; path=/; HttpOnly
X-Request-Id: 5fbdff07-2c27-4957-b199-e756d0253f42
X-Runtime: 0.121535
Content-Length: 2585

Status

201 Created

Body