Account management

You can List, Create, Edit and Delete Accounts using these endpoints.

Model

A sample Account object is below

{
    "organization":"1654740730258x343197985783152640",
    "building": "T2",
    "email": "[email protected]",
    "externalID": "1234456",
    "firstName": "Happy",
    "lastName": "Resident",
    "passphrase": "mypersonalpassphrase3",
    "phone": "4156234444",
    "stopDate": "2023-06-09T02:12:11.858Z",
    "tenantServiceStatus": "Active",
    "terminationMode": "Schedule stop date",
    "unit": "1112"
}

Managing Accounts

List all Accounts

get

List all Resident in the Organization

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

List all Resident in the Organization

application/json
get
/obj/resident
200

List all Resident in the Organization

Create and activate new Accounts. The activation email is sent automatically on the service activation date.

post

Auto generated using Swagger Inspector

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
tenantServiceStatusstringOptional
firstNamestringOptional
lastNamestringOptional
terminationModestringOptional
unitstringOptional
phonestringOptional
organizationstringOptional
externalIDstringOptional
passphrasestringOptional
buildingstringOptional
emailstringOptional
stopDatestringOptional
Responses
post
/obj/resident
201

Auto generated using Swagger Inspector

Edit an Account

patch

Edit Resident

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequiredExample: 1654740731860x896778368875644200
Body
tenantServiceStatusstringOptional
firstNamestringOptional
lastNamestringOptional
terminationModestringOptional
unitstringOptional
phonestringOptional
externalIDstringOptional
passphrasestringOptional
buildingstringOptional
emailstringOptional
stopDatestringOptional
Responses
patch
/obj/resident/{id}
405

Auto generated using Swagger Inspector

Delete an Account and terminate automatically its service

delete resident by ID

delete

Delete resident by ID

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequiredExample: 1654740731860x896778368875644200
Responses
200

OK

No content

delete
/obj/resident/{id}
200

OK

No content

Send activation email

Send again the activation email to an Account

post

Send activaitn email to resident

Body
userstringOptional
Responses
200

Auto generated using Swagger Inspector

application/json
post
/sendactivationemail
200

Auto generated using Swagger Inspector

Last updated

Was this helpful?