# Update Ban Words List

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/v1/discord/banwords/save:
    post:
      summary: Update Ban Words List
      deprecated: false
      description: >-
        Banwords Prefilter List is a list of words that are pre-checked of the
        prompt before it is sent to Midjourney. This list is designed to prevent
        the generation of images that contain offensive or inappropriate
        content, and reduce the risk of your account being banned.


        The list you send here will **overwrite** the default ban words list,
        instead of appending to it.
      tags:
        - DIY Plan Endpoints
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                list:
                  type: array
                  items:
                    type: string
                    description: Ban word.
                  description: The list of ban words.
              x-apifox-orders:
                - list
              required:
                - list
            example:
              list:
                - ahegao
                - pinup
                - ballgag
                - Playboy
                - Bimbo
                - pleasure
                - bodily fluids
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  list:
                    type: array
                    items:
                      type: string
                      description: Ban word.
                    description: The updated list of banned words.
                x-apifox-orders:
                  - list
                required:
                  - list
              example:
                list:
                  - ahegao
                  - pinup
                  - ballgag
                  - Playboy
                  - Bimbo
                  - pleasure
                  - bodily fluids
          headers: {}
          x-apifox-name: Success
      security:
        - bearer: []
      x-apifox-folder: DIY Plan Endpoints
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/5160896/apis/api-216001036-run
components:
  schemas: {}
  securitySchemes:
    bearerAuth:
      type: jwt
      scheme: bearer
      bearerFormat: JWT
    bearer:
      type: http
      scheme: bearer
servers:
  - url: https://api.imaginepro.ai
    description: Prod Env
security: []

```
