Get Users

Returns pairs of user id and email affiliated with the callers organisation. These are either users of this organisation, or users that have enabled to be manged by this organisation.

Request

POST https://api.cloudplan.biz/api/organisation/get_users

{
}

Reply

Example Reply:

{
    "result": true,
    "user_docs": [
        {
            "cp_id": "56A24FC24A86E627412FA99BDA54E057",
            "email": "testuser8@cloudplan.net"
        },
        {
            "cp_id": "56A24FE751CD9D3FE89339F6CF757473",
            "email": "testuser14@cloudplan.net"
        }
    ]
}
user_not_admin