Activate room
curl --request POST \
--url https://api.noux.app/api/v1/room/{id}/activate \
--header 'Authorization: Bearer <token>' \
--header 'authorization: <authorization>'const options = {
method: 'POST',
headers: {authorization: '<authorization>', Authorization: 'Bearer <token>'}
};
fetch('https://api.noux.app/api/v1/room/{id}/activate', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.noux.app/api/v1/room/{id}/activate"
headers = {
"authorization": "<authorization>",
"Authorization": "Bearer <token>"
}
response = requests.post(url, headers=headers)
print(response.text){
"roomId": "<string>",
"active": true
}{
"error": true,
"code": "PARSE_ERROR",
"message": "<string>"
}{
"error": true,
"code": "PARSE_ERROR",
"message": "<string>"
}{
"error": true,
"code": "PARSE_ERROR",
"message": "<string>"
}Rooms
Activate room
Activate a previously deactivated room. Idempotent when the room is already active. Authenticate using Bearer token with your Noux API key.
POST
/
api
/
v1
/
room
/
{id}
/
activate
Activate room
curl --request POST \
--url https://api.noux.app/api/v1/room/{id}/activate \
--header 'Authorization: Bearer <token>' \
--header 'authorization: <authorization>'const options = {
method: 'POST',
headers: {authorization: '<authorization>', Authorization: 'Bearer <token>'}
};
fetch('https://api.noux.app/api/v1/room/{id}/activate', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.noux.app/api/v1/room/{id}/activate"
headers = {
"authorization": "<authorization>",
"Authorization": "Bearer <token>"
}
response = requests.post(url, headers=headers)
print(response.text){
"roomId": "<string>",
"active": true
}{
"error": true,
"code": "PARSE_ERROR",
"message": "<string>"
}{
"error": true,
"code": "PARSE_ERROR",
"message": "<string>"
}{
"error": true,
"code": "PARSE_ERROR",
"message": "<string>"
}Authorizations
Noux API key from your integration settings
Headers
Bearer token with Noux API key
Path Parameters
The room ID