# Hermoso: delete_meta_object · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/publish/delete_meta_object/. Generated from the shipped page. Do not edit by hand.
> Full agent guide: https://hermoso.ai/llms.txt · MCP: https://app.hermoso.ai/mcp

[Docs](https://hermoso.ai/docs/) / [Tool reference](https://hermoso.ai/docs/reference/) / [Publishing & scheduling](https://hermoso.ai/docs/reference/publish/) / delete_meta_object

# `delete_meta_object`

Delete a Meta campaign / ad set / ad destructive

Area: LINKEDIN LEAD SYNC · [Publishing & scheduling](https://hermoso.ai/docs/reference/publish/). Generated from the running MCP server, like the rest of the [tool reference](https://hermoso.ai/docs/reference/).

## Description

PERMANENTLY delete a campaign, ad set, or ad. Pass objectId (from list_meta_ads) + adAccountId. DELETING A CAMPAIGN ALSO DELETES EVERY AD SET AND AD UNDER IT, and deleting an ad set deletes its ads: Meta itself leaves them behind, so Hermoso deletes each ad, then each ad set, then the object, and reads every one back (deletedAds / deletedAdSets / verified say exactly what went). An ad creative that ads still use cannot be deleted until those ads are; the refusal names them (usedBy). Call it WITHOUT confirm first: it reports what the object is, its name, and how many children go with it. Show the user that, get an unambiguous yes, then call again with confirm:true plus confirmChildren set to the number it reported (only needed when there is at least one child). To stop delivery without deleting anything, use update_meta_object(status:"PAUSED") instead — that is reversible and this is not.

## Parameters

Parameter Type Description

`objectId` required `string` the campaign / ad set / ad id to delete

`adAccountId` required `string` ad account id (for auth + scope)

`confirm` `boolean` REQUIRED true — deletion is permanent

`confirmChildren` `number` the number of child ad sets + ads this delete also destroys, as reported by the unconfirmed call — required whenever that is above zero

## 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_meta_object`.

**MCP** (`tools/call`)

`{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"delete_meta_object","arguments":{"objectId":"<string>","adAccountId":"<string>"}}}`
**CLI**

`hermoso call delete_meta_object --json '{"objectId":"<string>","adAccountId":"<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](https://hermoso.ai/docs/credits/).

## Related tools

- [list_meta_ads](https://hermoso.ai/docs/reference/ads/list_meta_ads/) List Meta campaigns / ad sets / ads
- [update_meta_object](https://hermoso.ai/docs/reference/ads/update_meta_object/) Edit a Meta campaign / ad set / ad
- [delete_linkedin_lead_subscription](https://hermoso.ai/docs/reference/publish/delete_linkedin_lead_subscription/) Stop a LinkedIn lead webhook
- [manage_meta_post](https://hermoso.ai/docs/reference/publish/manage_meta_post/) Edit or delete a published post
- [list_linkedin_lead_subscriptions](https://hermoso.ai/docs/reference/publish/list_linkedin_lead_subscriptions/) List LinkedIn lead webhooks
- [list_linkedin_lead_events](https://hermoso.ai/docs/reference/publish/list_linkedin_lead_events/) LinkedIn lead events received in real time
- [subscribe_linkedin_leads](https://hermoso.ai/docs/reference/publish/subscribe_linkedin_leads/) Turn on real-time LinkedIn lead delivery
- [get_linkedin_lead](https://hermoso.ai/docs/reference/publish/get_linkedin_lead/) Read one LinkedIn lead
- [list_linkedin_leads](https://hermoso.ai/docs/reference/publish/list_linkedin_leads/) List LinkedIn leads (form responses)
- [list_linkedin_lead_forms](https://hermoso.ai/docs/reference/publish/list_linkedin_lead_forms/) List LinkedIn lead gen forms

[All 728 Publishing & scheduling tools](https://hermoso.ai/docs/reference/publish/) · [tools.json](https://hermoso.ai/docs/reference/tools.json)
