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
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Path parameters

userId, string required

Response

Inference usage was reset.

object required
ok, true required
resetAmount, number 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

    5 more changes in this revision