| 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 d5e071a9-e148-4c5f-99b5-2bdd0a2e3db6 |
| 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 fb477275-a591-4843-ac4d-019c2b76ede6 |
| 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" } | ||