/hubs/{hub_id}/devices/{device_id}/users/{user_id}
Remove a user and clear their credentials
Needs the
hubs:write
scope.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
hub_id
|
path |
string
|
The hub ID printed on the hub (lowercase). |
device_id
|
path |
integer
|
|
user_id
|
path |
integer
|
Responses
204
Removed.
Errors
unauthenticated
Missing, malformed, revoked or unknown API key.
insufficient_scope
The key lacks the scope this operation needs.
not_found
No such resource, or it is not your organization's.
command_refused
The hub refused the command, for example a lock that did not join securely enough to be driven.
hub_offline
hub_offline: the hub is not connected. hub_unavailable: it is connected but cannot do it now, for example its radio is down or it does not know the time yet.