The method and parameters
|
POST /api/v1/billing/user/manage/licenses |
This manages a user's licenses based on their login. If all three analytics parameters are set to null or zero, the user’s access to analytics will be disabled.
JSON
{
"login": "test@mail.com",
"analytic_l1": null,
"analytic_l2": 1,
"analytic_l3": 0
}
string login – a user login
int analytic_l1 – the number of cases of the first license level
int analytic_l2 – the number of cases of the second license level
int analytic_l3 – the number of cases of the third license level
|
204 |
|
Successful response |
|
422 |
|
Returns a JSON object with an error. For details, see General information > Validation. JSON
|