Manages users of unit associated to the resident portal
- Get Unit User Devices for Specific User
Resident Portal REST API (v0)
Resident portals are provided to the unit owners to view and update unit details and secrets. The Resident portal APIs support these functions. These provide details on the property, units and dpsk passphrases associated. The APIs also supports updates of contact details and dpsk passphrases. APIs are authenticated using a specific token associated to the unit. These tokens are generated as the unit is created.
http://localhost:8080/
- Generated server url
http://localhost:8080/residents/properties/{propertyId}/units/users/{userId}
- Payload
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
No request payload
{ "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b", "userName": "string", "email": "string", "phoneNumber": "string", "passphrase": "string", "status": "BLOCKED", "type": "UNIT", "_links": { "property1": { … }, "property2": { … } } }
- application/json
- application/vnd.ruckus.v1+json
Unit user passphrase. For resetting passphrase please provide empty string in request.
- Generated server url
http://localhost:8080/residents/properties/{propertyId}/units/users/{userId}
- Payload
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
{ "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b", "userName": "string", "email": "string", "phoneNumber": "string", "passphrase": "string", "status": "BLOCKED", "type": "UNIT" }
- application/json
- application/vnd.ruckus.v1+json
Search criteria and pagination details
Number of records in a page.If not specified default page size of 20 will be applied.
- Generated server url
http://localhost:8080/residents/properties/{propertyId}/units/users/query
- Payload
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
{ "sortDirection": "ASC", "page": 0, "pageSize": 0, "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b", "sortFields": "userId" }
{ "totalPages": 0, "totalElements": 0, "first": true, "last": true, "size": 0, "content": [ { … } ], "number": 0, "sort": { "empty": true, "sorted": true, "unsorted": true }, "numberOfElements": 0, "pageable": { "offset": 0, "sort": { … }, "pageNumber": 0, "pageSize": 0, "paged": true, "unpaged": true }, "empty": true }
- Generated server url
http://localhost:8080/residents/properties/{propertyId}/units/users/{userId}/devices
- Payload
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
No request payload
{ "contents": [ { … } ], "_links": { "property1": { … }, "property2": { … } } }
- Generated server url
http://localhost:8080/residents/properties/{propertyId}/units/users/{userId}/devices/{deviceId}
- Payload
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
No request payload