- Update User Max Devices - Complete API documentation - Update User Max Devices - Success test case - Update User Max Devices - Invalid Zero test case - Update User Max Devices - Exceeds Maximum test case - Update User Max Devices - Missing ID test case - Include validation rules and example payloads - Document all status codes and error responses
28 lines
427 B
Plaintext
28 lines
427 B
Plaintext
meta {
|
|
name: Update User Max Devices - Missing ID
|
|
type: http
|
|
seq: 4
|
|
}
|
|
|
|
put {
|
|
url: {{base_url}}/api/auth/users//max-devices
|
|
body: {
|
|
max_devices: 10
|
|
}
|
|
auth: inherit
|
|
}
|
|
|
|
settings {
|
|
encodeUrl: true
|
|
timeout: 0
|
|
}
|
|
|
|
docs {
|
|
## Update User Max Devices - Missing User ID
|
|
|
|
Attempts to update max devices without providing user ID.
|
|
|
|
**Expected:** 400 Bad Request
|
|
**Response:** `{"error": "user id required"}`
|
|
}
|