SubUser

Creates or updates a subuser. To create a new user set no ID (empty)

post/SubUser

Request

  • Base URL: https://api.smart-me.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.smart-me.com/SubUser
  • Auth: one of:
    • OAuth 2 (authorization code, authorization URL /oauth/authorize, token URL /oauth/token; client credentials, token URL /oauth/token)
    • HTTP basic

Request body

idstring nullable

The ID of the user

usernamestring nullable

The username

emailstring nullable

The Email adress

permissionLevel0 | 1

The permission levle of the sub user<p>Members: </p><ul><li><i>0</i> - SelectedFolderAndSubfoldersMeters</li><li><i>1</i> - SelectedFolderOnly</li></ul>

accessTimeStartDatestring date-time

The start date. From this date the user has access

accessEndDatestring date-time

The end date. until this date the user has access

newPasswordstring nullable

If set this is used a new password

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.