Update a user


Use this API endpoint to update a user.

  • path: /user/<user id>
  • method: POST
  • Base URL:
  • parameters:
    • user id: The ID of the user to be updated.
  • body:
    • repeat_trial_state: Can be set to none, requested, approved, upgraded, denied.
  • headers:
    • Authorization: Bearer <api_secret>: where secret is the raw API secret you get when generating an API key.

      Never reveal your secret on the client side. Only make this call from a secure server.

  • response: The response from this endpoint will be a 200 status if successful with he below body.

Example body for updating user

  "repeat_trial_state": "upgraded"