|
2 | 2 | title: Deprecate a Subgraph
|
3 | 3 | ---
|
4 | 4 |
|
5 |
| -Although you cannot delete a subgraph, you can deprecate it on Graph Explorer. |
| 5 | +Delete and deprecate your subgraphs using [Subgraph Studio](https://thegraph.com/studio/). |
6 | 6 |
|
7 |
| -## Step-by-Step |
| 7 | +## Deleting Your Subgraph |
8 | 8 |
|
9 |
| -To deprecate your subgraph, do the following: |
| 9 | +> Deleting your subgraph will remove all published versions from The Graph Network. However, it will still be visible on Graph Explorer and Subgraph Studio for users who have signaled on it. |
10 | 10 |
|
11 |
| -1. Visit the contract address for Arbitrum One subgraphs [here](https://arbiscan.io/address/0xec9A7fb6CbC2E41926127929c2dcE6e9c5D33Bec#writeProxyContract). |
12 |
| -2. Call `deprecateSubgraph` with your `SubgraphID` as your argument. |
13 |
| -3. Your subgraph will no longer appear in searches on Graph Explorer. |
| 11 | +### Step-by-Step |
| 12 | + |
| 13 | +1. Visit your subgraph's page on Subgraph Studio.[insert image] |
| 14 | +2. Click on the three-dots to the right of the "publish" button. [insert image] |
| 15 | +3. Click on the option to "delete" your subgraph.[insert image] |
| 16 | +4. Depending on the subgraph's status, you will be prompted with various options. |
| 17 | + |
| 18 | + - If the subgraph is not published, simply click “delete” and confirm. |
| 19 | + - 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. |
| 20 | + |
| 21 | +> If the owner of the subgraph has signal on it, the signaled GRT will be returned to the owner. |
| 22 | +
|
| 23 | +Once you delete the subgraph, it will **not** be visible on Graph Explorer's homepage. However, it will be visible on the profile pages of users who have signaled on it, allowing them to remove their signal. |
| 24 | + |
| 25 | +## Deprecating Your Subgraph |
| 26 | + |
| 27 | +### Step-by-Step |
| 28 | + |
| 29 | +1. Visit your subgraph's page on Subgraph Studio. |
| 30 | +2. Click on the three-dots to the right of the "publish" button. |
| 31 | +3. Click on the option to "deprecate" your subgraph. |
| 32 | +4. Your subgraph will no longer appear in searches on Graph Explorer. |
14 | 33 |
|
15 | 34 | ## Reminders
|
16 | 35 |
|
17 |
| -- The owner's wallet should call the `deprecateSubgraph` function. |
18 | 36 | - Curators will not be able to signal on the subgraph anymore.
|
19 | 37 | - Curators that already signaled on the subgraph can withdraw their signal at an average share price.
|
20 | 38 | - Deprecated subgraphs will show an error message.
|
|
0 commit comments