DeletingΒΆ

Remove user from system permanently.

var client = MeshyClient.Initialize(accountName, publicKey);
var connection = await client.LoginAnonymouslyAsync(username);

await connection.Users.DeleteAsync(id);

Parameters

accountName : string, required
Indicates which account you are connecting to.
publicKey : string, required
Public identifier of connecting service.
username : string, required
Unique identifier for user or device.
id : string, required
Identifies id of user.
var client = MeshyClient.initialize(accountName, publicKey);
var meshyConnection = await client.loginAnonymously(username);

await meshyConnection.usersService.delete(id);

Parameters

accountName : string, required
Indicates which account you are connecting to.
publicKey : string, required
Public identifier of connecting service.
username : string, required
Unique identifier for user or device.
id : string, required
Identifies id of user.
DELETE https://api.meshydb.com/{accountName}/users/{id} HTTP/1.1
Authentication: Bearer {access_token}

Parameters

accountName : string, required
Indicates which account you are connecting to.
access_token : string, required
Token identifying authorization with MeshyDB requested during Generating Token.
id : string, required
Identifies id of user.

Responses

204 : No Content
  • Identifies if user was deleted.
400 : Bad request
  • User is not able to delete self.
401 : Unauthorized
  • User is not authorized to make call.
403 : Forbidden
  • User has insufficent permission to delete users.
404 : Not Found
  • User is not found.
429 : Too many request
  • You have either hit your API or Database limit. Please review your account.