List of tables by user

Hi @LetMeTest,

To do this, you can use the following API to give the user access to a specific table:

Method: PUT
Request URL: https://xxxx.backendless.app/api/data/<tableName>/permissions/<permissionType>
Request body:
{ 
   "permission": <permission>,
   "user":<objectId>
         or
   "role":<role-name>
}

In the request URL, you must specify the table name in <tableName> and GRANT or DENY in <permissionType>.
In the body of the request:

  1. For the permission parameter, specify one of the following operations:
  ADD,
  UPDATE,
  FIND,
  REMOVE,
  DESCRIBE,
  PERMISSION,
  LOAD_RELATIONS,
  ADD_RELATION,
  DELETE_RELATION,
  UPSERT

Or instead of a specific operation, you can use * to change permissions for all operations.

  1. The body should contain user (object id) or role (role name) property. If both present role will be ignored.

Regards
Nazar