Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ http {
rewrite ^/docs/en/substreams/(?!index\.).+$ https://substreams.streamingfast.io permanent;
rewrite ^/docs/en/firehose/(?!index\.).+$ https://firehose.streamingfast.io permanent;
rewrite ^/docs/([a-zA-Z][a-zA-Z])/deploying/deploying-a-subgraph-to-studio/$ $scheme://$http_host/docs/$1/deploying/deploy-using-subgraph-studio/ permanent;
rewrite ^/docs/([a-zA-Z][a-zA-Z])/deploying/subgraph-studio/$ $scheme://$http_host/docs/$1/deploying/deploy-using-subgraph-studio/ permanent;

rewrite ^/docs/([a-zA-Z][a-zA-Z])/deploying/subgraph-studio/$ $scheme://$http_host/docs/$1/deploying/deploy-using-subgraph-studio/ permanent;
rewrite ^/docs/([a-zA-Z][a-zA-Z])/managing/deprecate-a-subgraph/$ $scheme://$http_host/docs/$1/managing/delete-a-subgraph/ permanent;
# Temporary redirects (302)
rewrite ^/docs/en/querying/graph-client/$ $scheme://$http_host/docs/en/querying/graph-client/README/ redirect;
rewrite ^/docs/en/developing/graph-ts/$ $scheme://$http_host/docs/en/developing/graph-ts/README/ redirect;
Expand Down
2 changes: 1 addition & 1 deletion website/pages/en/developing/developer-faqs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ If only one entity is created during the event and if there's nothing better ava

### 15. Can I delete my subgraph?

It is not possible to delete subgraphs once they are created. However, you can [transfer](/managing/transfer-a-subgraph/) and [deprecate](/managing/deprecate-a-subgraph/) your subgraph.
Yes, you can [delete](/managing/delete-a-subgraph/) and [transfer](/managing/transfer-a-subgraph/) your subgraph.

## Network Related

Expand Down
2 changes: 1 addition & 1 deletion website/pages/en/managing/_meta.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export default {
'transfer-a-subgraph': '',
'deprecate-a-subgraph': '',
'delete-a-subgraph': '',
}
29 changes: 29 additions & 0 deletions website/pages/en/managing/delete-a-subgraph.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
title: Delete a Subgraph
---

Delete your subgraph using [Subgraph Studio](https://thegraph.com/studio/).

> Deleting your subgraph will remove all published versions from The Graph Network, but it will remain visible on Graph Explorer and Subgraph Studio for users who have signaled on it.

## Step-by-Step

1. Visit the subgraph's page on [Subgraph Studio](https://thegraph.com/studio/).
2. Click on the three-dots to the right of the "publish" button.
3. Click on the option to "delete this subgraph":

![Delete-subgraph](/img/Delete-subgraph.png)

4. Depending on the subgraph's status, you will be prompted with various options.

- If the subgraph is not published, simply click “delete” and confirm.
- If the subgraph is published, you will need to confirm on your wallet before the subgraph can be deleted from Studio. If a subgraph is published to multiple networks, such as testnet and mainnet, additional steps may be required.

> If the owner of the subgraph has signal on it, the signaled GRT will be returned to the owner.

### Important Reminders

- Once you delete a subgraph, it will **not** appear on Graph Explorer's homepage. However, users who have signaled on it will still be able to view it on their profile pages and remove their signal.
- Curators will not be able to signal on the subgraph anymore.
- Curators that already signaled on the subgraph can withdraw their signal at an average share price.
- Deleted subgraphs will show an error message.
22 changes: 0 additions & 22 deletions website/pages/en/managing/deprecate-a-subgraph.mdx

This file was deleted.

2 changes: 1 addition & 1 deletion website/pages/en/network/developing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,4 @@ To update your subgraph with bug fixes or new functionalities, initiate a transa

### Deprecating & Transferring Subgraphs

If you no longer need a published subgraph, you can [deprecate](/managing/deprecate-a-subgraph/) or [transfer](/managing/transfer-a-subgraph/) it. Deprecating a subgraph returns any signaled GRT to [Curators](/network/curating/).
If you no longer need a published subgraph, you can [delete](/managing/delete-a-subgraph/) or [transfer](/managing/transfer-a-subgraph/) it. Deleting a subgraph returns any signaled GRT to [Curators](/network/curating/).
Binary file added website/public/img/Delete-subgraph.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading