- CheckMates
- :
- Products
- :
- Developers
- :
- API / CLI Discussion
- :
- R80.20 REST API modify user object
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Are you a member of CheckMates?
×
Sign in with your Check Point UserCenter/PartnerMap account to access more great content and get a chance to win some Apple AirPods! If you don't have an account, create one now for free!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
R80.20 REST API modify user object
Is it possible to change CpmiUser type object through the REST API?
I know it can be searched for with /web_api/show-objects but I can't figure out if it's possible to modify the object through the REST API.
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What exactly are you trying to do? Please elaborate.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry for the slight delay in response.
I'm working on automating manual tasks and try to update the expiry date for our client VPN users based on date value from Active Directory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There are official APIs for this in R80.40 with a recent JHF or R81+.
It is recommended you upgrade and leverage those APIs versus trying to accomplish this in R80.20, which will be End of Support in the near future.
https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/set-user~v1.6.1%20
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It can be done using the generic-object API.
There are a few examples on CheckMates.
There are a few examples on CheckMates.
