Ready to post? First, try searching for your answer.
I am creating an org invite with a role Id and it is not adding the role to the new user (after he accepts the invite). Is this a defect?
curl --location ‘https://xxxxxx.us.auth0.com/api/v2/organizations/orgxxxxxghut/invitations’
–header ‘Authorization: Bearer eyQ6A’
–header ‘Content-Type: application/json’
–data-raw ‘{
“inviter”: {
“name”: “Danielle xxxxx”
},
“invitee”: {
“email”: “xxxxxx@gmail.com”
},
“client_id”: “BExxxxxxxxxxxe0”,
“connection_id”: “con_o8xxxxxxxxG”,
“app_metadata”: {},
“user_metadata”: {},
“ttl_sec”: 0,
“send_invitation_email”: true,
“roles”:[“rol_QxxxxxxxQ”]
}’