Put
/data/thingCloudStatus
This method allows updating the cloud status of a specific Thing to ACTIVE, INACTIVE or TEST.
Required permissions: READ_THING, READ_CLOUD_STATUS, WRITE_CLOUD_STATUS.
Security
HTTP
Type bearer
Header parameters
X-Servitly-Tenant
stringRequired
The name of the target tenant (e.g. acme).
Query parameters
thingId
stringRequired
The identifier of the Thing the cloud status must be updated.
Minimum1.0
Exampleabcd1234
Body parameters
The cloud status update payload.
object
cloudStatus
string
The new cloud status to set.
Valid values[
"ACTIVE",
"DEACTIVE",
"TEST"
]
Responses
200
Successful updated.
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
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