# deleteDemoWorkspace (/api/reference/mutations/delete-demo-workspace)

Delete the caller's whole workspace, with everything in it and the caller's own key. Only a demo workspace, whose slug starts with `demo-`, can be deleted this way (`NOT_A_DEMO_WORKSPACE`), and `slug` must be that workspace's (`WORKSPACE_MISMATCH`). This cannot be undone. Once it has succeeded the key is gone, so a repeat is refused as unauthenticated.

```graphql
deleteDemoWorkspace(
  input: DeleteDemoWorkspaceInput!
): DeleteDemoWorkspacePayload!
```

### Arguments [#arguments]

#### [`deleteDemoWorkspace.input`](#input) · [`DeleteDemoWorkspaceInput!`](/api/reference/inputs/delete-demo-workspace-input) `non-null` `input` [#input]
Which workspace the caller means to delete.

### Type [#type]

#### [`DeleteDemoWorkspacePayload`](/api/reference/objects/delete-demo-workspace-payload) `object` [#deletedemoworkspacepayload-object]
What was deleted.