---
agentTools:
  projectIndex: https://threadeo.readme.io/llms.txt
---

# Uninvite user from media

Uninvite a user from media (video or audio recording) to which the user had been previously invited.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Threadeo API",
    "contact": {
      "email": "engineering@threadeo.com"
    },
    "version": "1.7.0"
  },
  "servers": [
    {
      "url": "https://api.threadeo.com/v1"
    }
  ],
  "paths": {
    "/media/users/delete": {
      "post": {
        "summary": "Uninvite user from media",
        "description": "Uninvite a user from media (video or audio recording) to which the user had been previously invited.",
        "tags": [
          "Transcribed Media (video or audio)"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteUserRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Empty"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorJSONResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorJSONResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorJSONResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorJSONResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "APIKey": []
          },
          {
            "BearerAuth": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "DeleteUserRequest": {
        "required": [
          "id",
          "email"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "Media ID",
            "example": 100
          },
          "email": {
            "type": "string",
            "description": "Email address of user to be uninvited.",
            "example": "email@domain.com"
          }
        }
      },
      "ErrorJSONResponse": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string",
            "description": "Error message",
            "example": "Error message"
          }
        }
      },
      "Empty": {
        "type": "object"
      }
    },
    "securitySchemes": {
      "APIKey": {
        "type": "apiKey",
        "name": "x-api-key",
        "description": "The API key on your API Settings page (https://app.threadeo.com/profile/api-settings).",
        "in": "header"
      },
      "BearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "description": "The secret token you generated on your API Settings page."
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 96,
      "1": 105,
      "2": 138,
      "3": 79,
      "4": 124,
      "5": 80,
      "6": 237,
      "7": 0,
      "8": 22,
      "9": 230,
      "10": 68,
      "11": 196
    }
  }
}
```