# deletePlanningStreams

Source: https://swapcard.dev/organizer/content-api/graphql-event-api-schema/mutations/delete-planning-streams


const [open, setOpen] = useState(startOpen);
  return (
    <details {...(open ? { open: true } : {})} className="details" style={{ border:'none', boxShadow:'none', background:'var(--ifm-background-color)' }}>
      <summary
        onClick={(e) => {
          e.preventDefault();
          setOpen((open) => !open);
        }}
        style={{ listStyle:'none' }}
      >
      {open ? dataOpen : dataClose}
      </summary>
      {open && children}
    </details>
  );
};

:::caution DEPRECATED
Use mutation UpsertEventPlannings to delete live streaming or videos.
:::

Delete an existing planning stream.

```graphql
deletePlanningStreams(
  input: DeletePlanningStreamsInput!
): DeletePlanningStreamsPayload! @deprecated
```

### Arguments

#### [<code style={{ fontWeight: 'normal' }}>deletePlanningStreams.<b>input</b></code>](#)<Bullet />[`DeletePlanningStreamsInput!`](/organizer/content-api/graphql-event-api-schema/inputs/delete-planning-streams-input) <Badge class="badge badge--secondary" text="non-null"/> <Badge class="badge badge--secondary" text="input"/> 
> 
> 
> 
> 

### Type

#### [`DeletePlanningStreamsPayload`](/organizer/content-api/graphql-event-api-schema/objects/delete-planning-streams-payload) <Badge class="badge badge--secondary" text="object"/> 
> 
> 
> 
>
