Activate a thing

Prev Next
Post
/inventory/things/activate

Activates a Thing under a specific location by usig a connection token.
Things and connection-tokens must be registered before using this API.

Required permissions: WRITE_THING_ACTIVATION.

Security
HTTP
Type bearer
Header parameters
X-Servitly-Tenant
stringRequired

The name of the target tenant (e.g. acme).

Body parameters

The information identifying the Thing being activated.

object
locationId
string

The identifier of the target location.

serialNumber
string

The serial-number of the Thing to activate.

connectionToken
string

The connection-token used by the Thing to communicate with the cloud.

Responses
200

Successful registered.

400

Request data not valid.

object
message
string

The error response.

ExampleBad request
401

User not authenticated.

object
message
string

The error response.

ExampleUser not authenticated
403

User not authorized.

object
message
string

The error response.

ExampleUser not authorized
404

Resource was not found.

object
message
string

The error response.

ExampleResource not found
409

The provided connection-tokens are incomplete or duplicated.

429

API call rate limit exeeded.

object
message
string

The error response.

ExampleAPI call rate limit exeeded
500

Internal server error.

object
message
string

The error response.

ExampleInternal Server Error