Remove a script you added from your library
/library/{author}/{slug}- Base URL
https://api.chartnaut.com/v1- Auth
- Bearer key
- Operation ID
removeFromLibrary
Removes the library entry only; the scripts added with it stay. Works after the author made
the script private or archived it. Your own scripts and chartnaut/ built-ins cannot be
removed (400).
Path parameters#
authorstringRequiredThe author's username (or me / chartnaut where allowed), in any letter case.
slugstringRequiredThe script's slug. No @N; a library entry is the live script.
Query parameters#
kindstringRequired when you added an indicator and a definition with that slug.
Responses#
200OKapplication/json
Removed.
removedtrueRequiredrefstringRequiredkindstringRequired400Bad requestapplication/json
invalid_request: your own script or a built-in, @N in the path, or a bad kind.
errorobjectRequiredShow fields
codestringRequiredStable. Branch on this, never on message.
messagestringRequireddetailsobjectdocs_urlstring (uri)request_idstring404Not foundapplication/json
not_found: it is not in your library.
errorobjectRequiredShow fields
codestringRequiredStable. Branch on this, never on message.
messagestringRequireddetailsobjectdocs_urlstring (uri)request_idstring409Conflictapplication/json
conflict: you added an indicator and a definition with that slug. Pass kind.
errorobjectRequiredShow fields
codestringRequiredStable. Branch on this, never on message.
messagestringRequireddetailsobjectdocs_urlstring (uri)request_idstringErrorAny other statusapplication/json
Error.
errorobjectRequiredShow fields
codestringRequiredStable. Branch on this, never on message.
messagestringRequireddetailsobjectdocs_urlstring (uri)request_idstring