Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
JHJohansen
Explorer

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.

0 Kudos
4 Replies
_Val_
Admin
Admin

What exactly are you trying to do? Please elaborate.

0 Kudos
JHJohansen
Explorer

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.

0 Kudos
PhoneBoy
Admin
Admin

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 

PhoneBoy
Admin
Admin

It can be done using the generic-object API.
There are a few examples on CheckMates.
0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events