Actions43
- Account Actions
- Brand Actions
- Comment Actions
- Conversation Actions
- Media Actions
- Mention Actions
- Post Actions
- Review Actions
Post → Unpublish
AI-generatedSummary
Unpublishes a post through SocialAPI. Provide the required Post ID; optionally enter comma-separated Account IDs to limit which accounts it is unpublished from. Leave Account IDs blank to use the API’s default of all accounts.
Inputs
- Post ID (required) — The ID of the post to unpublish.
- Account IDs — Optional comma-separated account IDs. If provided, the IDs are trimmed and sent as an array; if left blank, the request omits this filter and uses the API default of all accounts.
Output shape
A list of n8n items containing the API response.
Sends a POST request to the post’s unpublish endpoint and wraps the response as JSON items. With Continue On Fail enabled, a failed request produces an item containing an error message.