/
OP
openai
/
OpenAI API
Search skmtc…
⌘K
Docs
Sign in
Sign in
APIs
Generators
Stacks
Projects
Docs
History
Schema
Sources
Checked 5m ago · Updated 4w ago
View markdown
openai
OpenAI API
delete
Deletes a user from the organization.
v1
latest
OpenAPI 3.1.0
MIT
2026-07-13
242
959
2.7 MB
Assistants
23
Audio
9
Audit Logs
1
Batch
4
Certificates
10
Chat
6
Completions
1
Conversations
8
Embeddings
1
Evals
12
Files
5
Fine-tuning
13
Group organization role assignments
3
Group users
3
Groups
4
Images
3
Invites
4
Models
3
Moderations
1
Project group role assignments
3
Project groups
3
Project user role assignments
3
Projects
19
Realtime
9
Responses
5
Roles
8
Skills
11
Uploads
4
Usage
9
User organization role assignments
3
Users
4
get
Lists all of the users in the organization.
get
Retrieves a user by their identifier.
post
Modifies a user's role in the organization.
delete
Deletes a user from the organization.
Vector stores
16
Videos
10
get
List Containers
post
Create Container
get
Retrieve Container
delete
Delete Container
get
List Container files
post
Create a Container File You can send either a multipart/form-data request with the raw file content, or a JSON request with a file ID.
get
Retrieve Container File
delete
Delete Container File
get
Retrieve Container File Content
get
List organization API keys
post
Create an organization admin API key
get
Retrieve a single organization API key
delete
Delete an organization admin API key
post
Returns input token counts of the request. Returns an object with `object` set to `response.input_tokens` and an `input_tokens` count.
post
Compact a conversation. Returns a compacted response object. Learn when and how to compact long-running conversations in the [conversation state guide](/docs/guides/conversation-state#managing-the-context-window). For ZDR-compatible compaction details, see [Compaction (advanced)](/docs/guides/conversation-state#compaction-advanced).
post
Cancel an active ChatKit session and return its most recent metadata. Cancelling prevents new requests from using the issued client secret.
post
Create a ChatKit session.
get
List items that belong to a ChatKit thread.
get
Retrieve a ChatKit thread by its identifier.
delete
Delete a ChatKit thread along with its items and stored attachments.
get
List ChatKit threads with optional pagination and user filters.
Webhooks
post
batch_cancelled
post
batch_completed
post
batch_expired
post
batch_failed
post
eval_run_canceled
post
eval_run_failed
post
eval_run_succeeded
post
fine_tuning_job_cancelled
post
fine_tuning_job_failed
post
fine_tuning_job_succeeded
post
realtime_call_incoming
post
response_cancelled
post
response_completed
post
response_failed
post
response_incomplete
Users
Deletes a user from the organization.
delete
/organization/users/{user_id}
Path parameters
user_id
string
required
The ID of the user.
Response
User deleted successfully.
UserDeleteResponse
required
object
'organization.user.deleted'
required
id
string
required
deleted
boolean
required