Session Create Foreign User

Request

POST https://uni.cloudplan.biz/api/user/session_create_foreign_user

{
    "email":"h.everts@cloudplan.net",
    "session_duration": (optional) integer //duration of the session in seconds
}

Note: calling user must be admin. User to be logged in needs to be in same org
      or must have delegated login permission to the calling users organisation.

Reply

{
    "result": true,
    "session_id": "5B3A1BF1AC77C253A95E3291A124FC6B"
}
session_duration_too_long
user_not_found
caller_not_admin
login_not_allowed
session_creation_failed