Add a device to a user

Add a device to a user.

post
Path parameters
userIdstringRequired

The id of the user

deviceIdstringRequired

The id of the device to add.

Header parameters
Brand-URLstringRequired

The brand URL of the request. This is used to identify the brand.

Example: YOUR_BRAND_URL
Auth-KeystringRequired

Auth-Key is required to authenticate the request. If missing, the server will return 401 Unauthorized.

Example: YOUR_AUTH_KEY
Body

This class provides the add a device to a user.

tokenstring · nullableOptional

The token of the device data. This token is used when push notification for the device.

sessionstring · nullableOptional

The session of the device data and related with user.

tagsstring · nullableOptional

The tags of the device.

userDeviceStatusstring · enumOptional

Device status enum.

Possible values:
Responses
post
/api/v1/users/{userId}/devices/{deviceId}

Last updated