Skip to content

Update a related item by id for transients.

PUT
/devices/{id}/transients/{fk}

Authorizations

ApiKeyAuth

API Key for authentication. Retrieval from either API version login routes, or other authentication token type. See Authentication for more details.

TypeAPI Key (header: Authorization)
ExampleeyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...

Parameters

Path Parameters

id*

device id

Typenumber
Required
formatinteger
fk*

Foreign key for transients

Typenumber
Required
formatinteger

Request Body

JSON
{
"type": 0,
"duration": 0,
"triggeredAt": "string",
"end": "string",
"sent": "string",
"sms": false,
"id": 0,
"deviceId": 0
}

Responses

Body (JSON)
application/json
JSON
{
"type": 0,
"duration": 0,
"triggeredAt": "string",
"end": "string",
"sent": "string",
"sms": false,
"id": 0,
"deviceId": 0
}

Playground

Authorization
Variables
Key
Value
Body

Samples

cURL
JavaScript
PHP
Python