Quantcast
Channel: User Authentication
Viewing all articles
Browse latest Browse all 1177

Creation bulk users using API

$
0
0
Hi All,

I started to play with Freenas Api , the task i trying to accomplish is create bulk of users
While creating one user all seems to work fine using following below example
But when i am trying to make python read json file with bulk of users i get error
Code:
{"error_message": "Sorry, this request could not be processed. Please try again later."}

My question is what would be best way to write bulk of users to freenas
Thanks

create single user
Code:
import json
import requests...


Creation bulk users using API

Viewing all articles
Browse latest Browse all 1177