---
title: "Delete OAuth user"
method: POST
path: "/user/delete"
tags: ["Authentication"]
---

# Delete OAuth user

`POST /user/delete`

## Request

- Base URL: `https://api.blog2social.com/rest/v1.0`
- URL: `https://api.blog2social.com/rest/v1.0/user/delete`
- Auth: none declared
- TypeScript: <https://skmtc.dev/blog2social/apis/blog2social-api/docs/user/delete/post.ts> (a function with typed inputs; its response is checked against the schema)

Delete OAuth user from your service

## Request body

- object
  - `service_token` string, required: The token for your service
  - `users` integer[], required: List of OAuth user IDs to delete.

## Response `200`

OK

- DeleteUserArray
  - `details` DeleteUserItem[]
    - `client_user_id` integer
    - `deleted` boolean
    - `error` string

## Other responses

- `500`: Internal Server Error

---

[API](https://skmtc.dev/blog2social/apis/blog2social-api.md) - [All operations](https://skmtc.dev/blog2social/apis/blog2social-api/llms.txt) - [OpenAPI document](https://skmtc.dev/blog2social/apis/blog2social-api/revisions/25eaecaa1acb?raw)
