Customer Management

[BETA] Reject calls with this end-user id

Parameters:

  • user_ids (List[str], required): The unique user_ids for the users to block

    (any /chat/completion call with this user={end-user-id} param, will be rejected.)

    curl -X POST "http://0.0.0.0:8000/user/block"
    -H "Authorization: Bearer sk-1234"
    -d '{
    "user_ids": [<user_id>, ...]
    }'
    
post/customer/block

Request

  • Base URL
    https://api.flock.io (the document declares no server; this is the origin it was published from)
  • URL
    https://api.flock.io/customer/block
  • Auth
    API key in header x-litellm-api-key

Request body

user_idsstring[] required

Response

Successful Response

Changes

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status

    • breaking

      the response's body type changed from no type to object for status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the required property to the response with the status