Validate Integration by ID
GET
/rooms/{id}/validate
const url = 'https://api.occulights.com/api/v1/rooms/example/validate';const options = {method: 'GET', headers: {Authorization: '<Authorization>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.occulights.com/api/v1/rooms/example/validate \ --header 'Authorization: <Authorization>'Validates a specific integration by ID for the authenticated tenant
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Integration ID
Query Parameters
Section titled “Query Parameters”tenant
string
Tenant to fetch integration under
Responses
Section titled “Responses”OK
Media typeapplication/json
object
message
string
Example generated
{ "message": "example"}Bad Request
Media typeapplication/json
object
message
string
Example generated
{ "message": "example"}Not Found
Media typeapplication/json
object
message
string
Example generated
{ "message": "example"}Bad Gateway
Media typeapplication/json