Realtime Cloud Storage

deleteRole

Removes a role associated with the subscription.

Sample

curl 'https://storage-backend-prd-useast1.realtime.co/deleteRole' -H 'Content-Type: application/json; charset=UTF-8' -d '{ "applicationKey": "[YOUR_APP_KEY]", "privateKey": "[YOUR_PVT_KEY]", "role": "DeveloperRole" }'

Parameters

String applicationKey

Public key of the application's license.

String privateKey

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

String role

The name of the role.

DeleteRoleResponse callback

Function called when the operation completes.

Response

DeleteRoleResponse(data, error)

Response of the deleteRole operation.

Role data

States the success of the operation.

Error error

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