/gateways/{eui64}/auth-settings
Activates or deactivates user authentication for a device.
put
Authorizations
x-api-keystringRequired
Path parameters
eui64stringRequiredExample:
The EUI64 of the device in hexadecimal format.
000d6f000011bcb3Body
user_authbooleanRequired
true if user authentication is enabled on the device; otherwise, false.
Responses
200
Successful operation
application/json
messagestringRequired
The success message returned.
400
Invalid request:
- Missing required 'path' parameter: 'eui64'.
- The provided EUI64 '{eui64}' is not a valid hexadecimal string.
- Request body is required but was not provided.
- Schema validation failed due to error: Missing required key: {key}
- Schema validation failed due to error: Invalid type for key: {key}
application/json
404
Not found:
- 400: The device '{eui64}' is not available in the IoT Thing registry.
application/json
500
Internal server error
application/json
put/gateways/{eui64}/auth-settings
PUT /v2/gateways/{eui64}/auth-settings HTTP/1.1
Host: device-management.n2g-dev.net
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 18
{
"user_auth": true
}{
"message": "Successfully updated authentication settings for thing '000d6f000011bcb3'"
}Last updated
Was this helpful?

