-
Notifications
You must be signed in to change notification settings - Fork 18
buildin_endpoints_delete_editor
Marcel Kloubert edited this page Feb 10, 2017
·
1 revision
Home >> Build-in endpoints >> [DELETE] /api/editor
Closes / hides the active editor (tab).
canClose property must be set to (true)
for an user or guest in the settings to access the endpoint.
Request:
DELETE /api/editor
Possible response:
Content-type: application/json; charset=utf-8
Content-encoding: gzip
X-Vscode-Restapi: 1.0.0
Date: Fri, 10 Feb 2017 15:06:36 GMT
Connection: keep-alive
Transfer-Encoding: chunked
{
"code": 0
}
Code | Description |
---|---|
403 |
User has no right to close tabs. |
404 |
No active tab found. |