Delete

Delete End User

Delete multiple end-users.

Parameters:

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

Example curl:

curl --location 'http://0.0.0.0:4000/customer/delete'         --header 'Authorization: Bearer sk-1234'         --header 'Content-Type: application/json'         --data '{
        "user_ids" :["ishaan-jaff-5"]
}'

See below for all params 
POST/customer/delete
Authorization
Body
user_ids*User Ids
Response

Successful Response

Body
any
Request
const response = await fetch('/customer/delete', {
    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"
    }
  ]
}