Admin

Reset a user's inference usage

Changed on

Removes the user's charges from the current inference limit windows of every organization they belong to and returns the total amount released.

post/v1/admin/users/{userId}/inference-usage/reset

Request

  • Base URL: https://api.openworklabs.com
  • URL: https://api.openworklabs.com/v1/admin/users/{userId}/inference-usage/reset
  • Auth: one of:
    • API key in header x-api-key
    • HTTP bearer

Path parameters

userIdstring required

Response

Inference usage was reset.

oktrue required
resetAmountnumber required

Changes

    • info

      the endpoint scheme security bearerAuth was added to the API

    • info

      the endpoint scheme security denApiKey was added to the API

    • info

      api tag Admin added

    • info

      added the media type application/json for the response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      endpoint added