-
Notifications
You must be signed in to change notification settings - Fork 18
buildin_endpoints_delete_globals_name
Marcel Kloubert edited this page Feb 19, 2017
·
4 revisions
Home >> Build-in endpoints >> [DELETE] /api/globals/{name}
Deletes a value.
canDelete property must be set to (true)
for an user or guest in the settings to access the endpoint.
Request:
DELETE /api/globals/myVar
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,
"data": {
"old": "The old value"
}
}
Code | Description |
---|---|
403 |
User has no right to delete values. |