Update a Remote Access vendor using the API

Update a Remote Access vendor using the API

87
Created On 11/10/26 10:56 AM - Last Modified 11/10/26 16:07 PM


Objective


This guide will focus on the PUT to '/v2-edge/vendors/{vendorId}' API:

https://api.alero.eu/swagger-ui/index.html?urls.primaryName=v2-edge#/vendors-controller-v-2/updateVendor

 



Environment


Alero SaaS

Procedure


For Self-Hosted Environments, please use the following format:

{    

    "username": "xxxxxx",

    "canInvite": false,

    "status": "Activated",

    "applications": [

        {

            "siteId": "xxxxxxxxxx",

            "applicationId": "xxxxxxx"

        }

    ],

    "comments": "",

    "accessStartDate": 1747699200000,

    "accessEndDate": 1769903999000,

    "groups": [

        "xxxxxxxx"

    ],

    "invitedVendorsInitialStatus": "RequiresAdminConfirmation",

    "provisioningType": "ProvisionedByAlero"

}

 

------

 

For Privilege Cloud Environments:

 

{
  "accessStartDate": 1747699200000,
  "accessEndDate": 1769903999000,
  "canInvite": false,
  "invitedVendorsInitialStatus": "Activated",
  "provisioningType": "ProvisionedByAlero",
  "username": "xxxxxx",
  "groups": [
    "xxxxx"
  ],
  "idaptiveRoles": [
    "xxxxxx"
  ],
  "comments": "",
  "applications": [
    {
      "siteId": "xxxx",
      "applicationId": "xxxx"
    }
  ],
  "pvwaApplications": true
}

Regarding the pvwaApplications setting, in the Remote Access Portal > Settings > User Management sources, there should be a setting like 'Vendor access to Identity web applications' if this is enabled you should set pvwaApplications = true.

 

-------

 

You can use the GET API (https://api.alero.eu/swagger-ui/index.html?urls.primaryName=v2-edge#/vendors-controller-v-2/getVendorById) to first get the information about the vendor, if you are unsure about the ID values. But ensure you use the format above, or it will throw an error.

 

You must ensure that the groups section use this format:

"groups": [

        "xxxxxxxx"

 ],

 

If you use a JSON object rather than a string it will fail.

 



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001PKXCA2&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail