Deleting Single Object¶
Method¶
DELETE
Endpoint URL¶
The xxxx.backendless.app
is a subdomain assigned to your application. For more information see the Client-side Setup section of this documentation.
https://xxxx.backendless.app/api/data/<table-name>/<object-id>
where:
Argument | Description |
---|---|
<table-name> |
name of the table where the object needs to be deleted. |
<object-id> |
ID of the object to delete. The ID assigned by Backendless in the create object operation. |
Request Headers¶
user-token:value-of-the-user-token-header-from-login
where:
Argument | Description |
---|---|
user-token |
Optional header. Contains a value returned by Backendless in a preceding user Login API call. If user-token is set in the request, the operation will be executed with the security policy associated with the currently logged in user. This means all permissions associated with the user and roles assigned to the user will be enforced by Backendless. |
Request Body¶
None
Return Value¶
{
"deletionTime" : timestamp in milliseconds
}
Example¶
curl \
-X DELETE \
-v https://xxxx.backendless.app/api/data/Orders/6C77C11B-E9B3-EB14-FFA2-69F38CF48800