Unblock

Unblock User

[BETA] Unblock calls with this user id

Example

curl -X POST "http://0.0.0.0:8000/user/unblock"
-H "Authorization: Bearer sk-1234"
-d '{
"user_ids": [<user_id>, ...]
}'
POST/customer/unblock
Authorization
Body
user_ids*User Ids
Response

Successful Response

Body
any
Request
const response = await fetch('/customer/unblock', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      "user_ids": [
        "text"
      ]
    }),
});
const data = await response.json();
Response
{
  "detail": [
    {
      "loc": [
        "text"
      ],
      "msg": "text",
      "type": "text"
    }
  ]
}