400 when the login details cannot be sent — for example the account is on the free plan, the target is the account owner, or the email could not be delivered (the response message states the reason). Returns 404 when the staff member does not exist.curl --location --globoff 'https://.daftara.com/api2/staff/send_login_details/3' \
--header 'Accept: application/json' \
--header 'apikey: ' \
--header 'Content-Type: application/json'{
"result": "successful",
"code": 200
}