Realtime Cloud Storage

deleteTable

Deletes a table and all of its items.

Sample

curl 'https://storage-backend-prd-useast1.realtime.co/deleteTable' -H 'Content-Type: application/json; charset=UTF-8' -d '{"applicationKey":"[YOUR_APP_KEY]","authenticationToken":"[YOUR_TOKEN]","table":"SampleUser"}'

Parameters

String applicationKey

Public key of the application's license.

String privateKey optional

Private key of the application's license. For administration use only.

String authenticationToken

Identification of the user using the application.

String table

The name of the table.

DeleteTableResponse callback

Function called when the operation completes.

Response

DeleteTableResponse(data, error)

Response of the deleteTable operation.

Object data

Error error

The attribute that holds the results of the operation if an error occurred.