Association of device users

Get devices users associated

GET http://localhost:5000/api/outer-inner-resource-pn/settings/sites

Get a list of device users associated with the plugin. Each number in the model list represent a device user (siteId). See Device Users on how to get a list.

Headers

Name
Type
Description

Authentication

string

Bearer access_token

{
	"model": [
		4,
		5
	],
	"success": true,
	"message": "Success"
}

Set device users associated

POST http://localhost:5000/api/outer-inner-resource-pn/settings/sites

Headers

Name
Type
Description

Authentication

string

Bearer access_token

Request Body

Name
Type
Description

siteIds

array

A list of siteIds, each representing a Device user

{
	"success": true,
	"message": "Success"
}

Last updated

Was this helpful?