| header | Authorization | Authentication token (bearer token or API key). |
| status | 200 | All ok |
| status | 400 | Device must be registered/Group and device do not belong to the same account |
| status | 401 | Invalid authentication token |
| status | 403 | Insufficient rights |
| status | 404 | Device group/device not found |
| {} | ||
| header | Authorization | Bearer 3c7b8ad2-5936-440f-8a29-62a0b4ab815a |
| status | 200 | |
| header | Access-Control-Expose-Headers | authorization, content-type |
| header | Access-Control-Allow-Headers | authorization, content-type |
| header | Access-Control-Allow-Methods | GET, POST, DELETE, OPTIONS, PUT |
| header | Access-Control-Allow-Origin | * |
| header | Strict-Transport-Security | max-age=31536000; includeSubDomains |
| header | X-Frame-Options | SAMEORIGIN |
| header | X-Content-Type-Options | nosniff |
| header | X-XSS-Protection | 1; mode=block |
| header | Content-Security-Policy | default-src 'none'; frame-ancestors 'none'; base-uri 'none'; form-action 'none' |
| header | Referrer-Policy | no-referrer |
| header | Feature-Policy | self |
| header | Permissions-policy | interest-cohort=() |
true | ||
| header | Authorization | Bearer efd2a410-bb2c-458c-b4c6-35d6bac43f6a |
| status | 400 | |
| header | Access-Control-Expose-Headers | authorization, content-type |
| header | Access-Control-Allow-Headers | authorization, content-type |
| header | Access-Control-Allow-Methods | GET, POST, DELETE, OPTIONS, PUT |
| header | Access-Control-Allow-Origin | * |
| header | Strict-Transport-Security | max-age=31536000; includeSubDomains |
| header | X-Frame-Options | SAMEORIGIN |
| header | X-Content-Type-Options | nosniff |
| header | X-XSS-Protection | 1; mode=block |
| header | Content-Security-Policy | default-src 'none'; frame-ancestors 'none'; base-uri 'none'; form-action 'none' |
| header | Referrer-Policy | no-referrer |
| header | Feature-Policy | self |
| header | Permissions-policy | interest-cohort=() |
{ "message": "Group and device do not belong to the same account", "code": "groupAndDeviceShouldBeInTheSameError", "errorMessage": "Group and device do not belong to the same account", "errorCode": "groupAndDeviceShouldBeInTheSameError" } | ||