auto Assign Roles to User By API BridgeAPP
Hi there Bridge community, I want to auto assign a list roles to user by uid when call by API BridgeAPP. Anybody help me this case, thank all.
-
I try upload auto CSV with header below:
uid,email,first_name,last_name,roles
abc@gmail.com,abc@gmail.com,Sang,Bui,AdminAfter I call API {{URL}}/api/admin/import_profile with API Token Account Admin:
{
"csv_url": "https://example.com/file.csv",
"has_header": true,
"columns": {
"0": ["uid", "email","first_name","last_name", "roles"]
}
}Response success but when I view CSV Import Logs:
Errors:
Validation failed: Import attempted to delete 91% of the users. (Maximum allowed: 20%)
I try it many times but It's not success. Please, help me validate format body call import CSV,
Thank All
Please sign in to leave a comment.
Comments
1 comment