Skip to content

Set SQS forwarding for a device

GET
/devices/id/setupSqsForwarding

Parameters

Path Parameters

id*

device id

Typenumber
Required

Query Parameters

sqsArn
Typestring
types
Typestring

Responses

Request was successful
JSON
{
"status": "string"
}

Samples

cURL
curl -X GET https://api.lightbug.cloud/api/devices/id/setupSqsForwarding
JavaScript
fetch("https://api.lightbug.cloud/api/devices/id/setupSqsForwarding")
  .then(response => response.json())
  .then(data => console.log(data));
PHP
file_get_contents("https://api.lightbug.cloud/api/devices/id/setupSqsForwarding");
Python
import requests
response = requests.get("https://api.lightbug.cloud/api/devices/id/setupSqsForwarding")
print(response.json())