| header | Authorization | Authentication token (bearer token or API key). |
| { "location" : String, "remarks" : String } | ||
| status | 200 | All ok |
| status | 401 | Invalid authentication token |
| status | 403 | Insufficient rights |
| status | 404 | Device not found |
| {} | ||
| header | Authorization | Bearer cc34c526-167a-41f3-b117-815b45d590fd |
{ "location": "Rotterdam", "remarks": "You never Bold alone" } | ||
| 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=() |
{} | ||
| header | Authorization | Bearer a80659db-53a4-4003-93dd-2c99da639ce2 |
{ "location": "Rotterdam", "remarks": "You never Bold alone" } | ||
| status | 403 | |
| 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": "The request was a legal request, but the server is refusing to respond to it.", "errorMessage": "The request was a legal request, but the server is refusing to respond to it." } | ||