When trying to bulk import users using curl
curl --request POST \
--url 'https://dev-deeplegal.auth0.com/api/v2/jobs/users-imports' \
--header 'authorization: Bearer <token>' \
--header 'content-type: multipart/form-data; boundary=---011000010111000001101001' \
--form users=@bulk_insert_users.json \
--form connection_id=<connection_id>\
--form external_id=<id>
It fails with (no idea why)
{"statusCode":400,"error":"Bad Request","message":"Invalid multipart payload format"}
My json file is like this
[ { "email": "<email>", "email_verified": false } ]
Any help is really appreciated