- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.
01-11-2019 09:23 AM
I have created a custom field in the PVWA for one of my policies/accounts, I am trying to add a new account with the API but I am able to add information to the custom field through the API. If so how?
01-14-2019 02:52 AM
Hello,
The following two REST API commands should be able to help you out here:
https://cyberarkdocu.azurewebsites.net/Product-Doc/OnlineHelp/PAS/Latest/en/Content/WebServices/Add%20Account%20v10.htm
https://cyberarkdocu.azurewebsites.net/Product-Doc/OnlineHelp/PAS/Latest/en/Content/SDK/UpdateAccount%20v10.htm
For add account look at this section:
===
Parameter
platformAccountProperties
Type
String
Description
Object containing key-value pairs to associate with the account, as defined by the account platform. Optional properties that do not exist on the account will not be returned here. Internal properties are not returned.
Valid values
example: {"Location": "IT", "OwnerName": "MSSPAdmin"}===
===
Thanks,
Henry
01-12-2019 12:15 AM
@Quaid Anderson Depending on whether the custom field was mandatory or optional, you should be able to add the account via API
01-14-2019 02:52 AM
Hello,
The following two REST API commands should be able to help you out here:
https://cyberarkdocu.azurewebsites.net/Product-Doc/OnlineHelp/PAS/Latest/en/Content/WebServices/Add%20Account%20v10.htm
https://cyberarkdocu.azurewebsites.net/Product-Doc/OnlineHelp/PAS/Latest/en/Content/SDK/UpdateAccount%20v10.htm
For add account look at this section:
===
Parameter
platformAccountProperties
Type
String
Description
Object containing key-value pairs to associate with the account, as defined by the account platform. Optional properties that do not exist on the account will not be returned here. Internal properties are not returned.
Valid values
example: {"Location": "IT", "OwnerName": "MSSPAdmin"}===
===
Thanks,
Henry
12-04-2020 01:33 PM
Thanks Henry for the how to update a custom field. How about adding the custom field to the platform via the API?
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!

