Is the Nx Cloud up? Visit our Status Page for the current health and performance of the Nx Cloud.

Status Page

Share system API

Completed

Comments

2 comments

  • Karen Zhang

    Just add some additional test outcome, I found out if I use my old request body, user will receive the invitation and access system, but in the system ui, it won't display this user. And the system is v6.0.5

    {

            "accountEmail": "xx@gmail.com",

            "accessRole": "advancedViewer",

            "userRoleId": "",

            "customPermissions": "",

            "isEnabled": true,

            "vmsUserId": ""

            }

     

    0
  • Ichiro
    • Network Optix team

    This is likely the test page has mis-format in the request body, the sendNotification should not nest the whole part. 
     
    The correct request body will be : 
     

    {
        "accountEmail":"xx@gmail.com",
        "roleIds": [
          "00000000-0000-0000-0000-100000000004" //roleId
        ],
        "permissions": [
          ""
        ],
        "isEnabled": true,
        "vmsUserId": ""
    }

     
    With this request body, it should help you to properly send out the share request via 
     

    POST  /cdb/v0/systems/{cloud_system_id}/users

     
     
    Just a reminder,  you may request the access_token from the cloud portal for this cloud_backend request, the "scope=" while request the token should be omitted. 

     
    Thanks.

    0

Please sign in to leave a comment.