delete_tiktok_post_ad_authorization
Delete a post’s Spark-Ads authorization code destructive
Description
Delete the Spark-Ads authorization code for a post the authorized account owns. CONFIRM-GATED, and not because it spends: ads already built on the post keep running, but no NEW ad can be built against it until a fresh code exists, and TikTok REFUSES this outright while any campaign or ad using the post is still ACTIVE — pause those first. Calling it without confirm changes nothing and returns the sentence describing exactly what would happen. THE READ-BACK INVERTS: proof of success is that TikTok no longer reports a code for the post, and a code that is still there is reported as not confirmed rather than done. NEEDS THE TIKTOK ACCOUNT AUTHORIZATION (see tiktok_account_status).
Parameters
| Parameter | Type | Description |
|---|---|---|
itemIdrequired | string | the TikTok post id |
confirm | boolean | REQUIRED true — call without it first to see exactly what would change |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/delete_tiktok_post_ad_authorization.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"delete_tiktok_post_ad_authorization","arguments":{"itemId":"<string>"}}}
CLI
hermoso call delete_tiktok_post_ad_authorization --json '{"itemId":"<string>"}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
tiktok_account_statusCheck the TikTok account authorizationextend_tiktok_post_ad_authorizationExtend a post’s Spark-Ads authorizationget_tiktok_post_ad_authorizationRead a post’s Spark-Ads authorization statusset_tiktok_post_ad_authorizationTurn Spark-Ads authorization on or off for the brand’s own postupload_tiktok_comment_imageUpload an image for a TikTok commentsearch_tiktok_locationsFind a TikTok location tagmoderate_tiktok_commentLike, hide, pin or delete a TikTok commentreply_to_tiktok_commentReply to a comment on the brand’s TikTok postcomment_on_tiktok_videoPost a new comment on the brand’s own TikTok postlist_tiktok_comment_repliesList every reply to one TikTok comment