Post lösen
DEL
/v1/accounts/{id}/posts/{postId}/pinLöst einen angehefteten Post; nicht angeheftet → keine Änderung.
Authorization: Bearer nc_… ·
Key mit Löschrecht.
Ändert etwas bei der Plattform; nur wenn die Schreib-Freigabe des Accounts es erlaubt.
Pfad-Parameter
id string Pflicht
Account-ID dieser API (aus GET /v1/accounts), nicht die User-ID auf der Plattform.
postId integer Pflicht
Antwort 204
204: ohne Inhalt.
Fehler
Immer als {"error": "…", "message": "…"}. Alle Codes unter Fehler; hier typisch:
| Status und Code | Bedeutung |
|---|---|
401 unauthorized | Key fehlt, ist ungültig, gesperrt oder abgelaufen |
403 insufficient_permission · ip_not_allowed · endpoint_not_allowed · account_not_allowed | Key darf das nicht (Rechte, IP, Endpunkt, Account) |
403 tenant_blocked | Organisation von nocturo gesperrt; Grund im Portal |
403 writes_not_allowed · posts_not_allowed | Schreib-Freigabe des Accounts erlaubt das nicht |
404 not_found · platform_not_found | Account oder Objekt unbekannt |
409 reauth_required | Session beendet: im Portal neu einloggen |
422 platform_rejected | Die Plattform hat abgelehnt (Grund in message) |
429 rate_limited · platform_rate_limited | Zu viele Aufrufe dieser Organisation bzw. die Plattform bremst; Retry-After beachten |