Skip to main content

We plan to offer extended access to our users who would like to have their accounts re-activated after their accounts have expired. To do this they would have to pay an extension/re-activation fee to have their account re-instated. We’re hoping to automate this by utilizing an API that changes the user’s expiration date after the user has paid the fee through Salesforce. Can this be achieved through an API?

Sure, you are just updating the user with a new expiration date:

PUT /manage/v1/user/{id}

{
  "expiration": "2022-03-02"
}

The ID is the Docebo ID of the user, and then update the date to the new expiration date.

Note: If you have other processes run based on expiration, you might need to check/update those as well.


Reply