namespace static
nexus.device. access
Source: src/
Methods
async static
grant(params) → Promise containing ApiResponse
creates an user invitation for a device
Parameters
| Name | Type | Optional | Description | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
params |
Object |
|
Values in
|
- Returns
-
Promise containing ApiResponse
async static
modify(params) → Promise containing ApiResponse
modifies the user access on a device
Parameters
| Name | Type | Optional | Description | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
params |
Object |
|
Values in
|
- Returns
-
Promise containing ApiResponse
async static
revoke(params) → Promise containing ApiResponse
revokes a user's access from the device
Parameters
| Name | Type | Optional | Description | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
params |
Object |
|
Values in
|
- Returns
-
Promise containing ApiResponse