user/assignNetwork

Associates network with the user.

Authorization

Access JSON Web Token (ManageNetwork)

Request Topic and Payload

Topic

dh/request

Payload Representation

{
    "action": {string},
    "requestId": {object},
    "userId": {long},
    "networkId": {long}
}

Payload Parameters

Parameter NameRequiredTypeDescription
actionYesstringAction name: user/assignNetwork
requestIdNoobjectRequest unique identifier, will be passed back in the response message.
userIdYeslongUser identifier.
networkIdYeslongNetwork identifier.

Response Topic and Payload

Topic

dh/response/user/assignNetwork@{clientId}

Payload Representation

{
    "action": {string},
    "status": {string},
    "requestId": {object}
}

Payload Parameters

Property NameTypeDescription
actionstringAction name: user/assignNetwork
statusstringOperation execution status (success or error).
requestIdobjectRequest unique identifier as specified in the request message.