You have been redirected from an outdated version of the article. Below is the content available on this topic. To view the old article click here.

delete()

Usage

delete(entity, ...)

Description
Deletes the given node(s) or relationship(s). This method takes multiple parameters (or a collection of objects) and returns an empty string. See also create().

Example

${delete(me)}

Search results for "delete()"

DELETE()

Sends an HTTP DELETE request with an optional content type to the given url. This method can be used to make HTTP requests from within the Structr Server, triggered by a frontend control like a button etc.

The DELETE() method will return a response object with the following structure:

Field Description Type
status HTTP status of the request Integer
headers Response headers Map
body Response body Map or String
DELETE(url [, contentType = 'application/json' ])

delete()

Deletes the given node(s) or relationship(s). This method takes multiple parameters (or a collection of objects) and returns an empty string. See also create().

delete(entity, ...)

application_store_delete()

Removes a stored value from the application level store.

application_store_delete(key)

request_store_delete()

Removes a stored value from the request level store.

request_store_delete(key)