Remove from your library
/library/{author}/{slug}Takes a script you added out of your library, as removing it in the app does. It stops running for you until you add it again. The scripts that were added with it stay in your library.
Scope | Heavy call | Long poll | CLI |
|---|---|---|---|
| No | No |
|
Guidance
Only another author's script that you added can be removed. Your own scripts stay in your library; delete one with Delete a script. Chartnaut's built-ins cannot be removed.
It works even after the author made the script private or archived it, so you can always clear out what you added.
When you added an indicator and a definition with the same author and slug, send
kindto say which. Without it the call answers409 conflict.A retry after the first call landed answers
404 not_found. Treat that as done.
Path parameters
Name | Type | Description |
|---|---|---|
| string | The author's username, in any letter case |
| string | The script's slug, without |
Query parameters
Name | Type | Required | Default | Description |
|---|---|---|---|---|
| string | No | None |
|
Response
200 with removed: true, the ref you removed and its kind.
Status codes
Status | Code | Meaning |
|---|---|---|
| - | Removed from your library |
|
| It is your own script or a built-in, the path has |
|
| It is not in your library |
|
| You added an indicator and a definition with that slug. Add |
