Device Connectivity Made Easy

Focus on your product and innovation and leave communication and management to DeviceHive.

Get Started

getNetwork

Gets information about user/network association.

Request

HTTP Request

GET /user/{id}/network/{networkId}

Parameters

Parameter Name Required Type Description
id Yes integer User identifier.
networkId Yes integer Network identifier.

Parameter Name

Required

Type

Description

id

Yes

integer

User identifier

networkId

Yes

integer

Network identifier

Authorization

Access JSON Web Token (ManageUser)

Request Body

Do not supply a request body with this method.

Response

If successful, this method returns the following structure in the response body.

Property Name

Type

Description

network

object

Associated network object.

network.id

integer

Network identifier.

network.name

string

Network display name.

network.description

string

Network description.

Updated less than a minute ago

getNetwork


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.