---
title: "updateBanner"
method: PUT
path: "/api/user/club/update-banner"
tags: ["club-user-resource"]
---

# updateBanner

`PUT /api/user/club/update-banner`

## Request

- Base URL: `https://api.neonclub.ir`
- URL: `https://api.neonclub.ir/api/user/club/update-banner`
- Auth: none declared
- TypeScript: <https://skmtc.dev/neonclub/apis/ayria-api/docs/api/user/club/update-banner/put.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- ClubImageCommand
  - `code` string
  - `content` string, byte, required
  - `contentType` string
  - `small` boolean

## Response `200`

OK

- ClubPublicDTO
  - `bannerPath` string
  - `code` integer
  - `description` string
  - `discount` number
  - `enabled` boolean
  - `logoPath` string
  - `name` string
  - `owner` boolean
  - `owneraCode` integer
  - `smallLogoPath` string
  - `theme` string
  - `voucher` number

## Other responses

- `201`: Created
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found

---

[API](https://skmtc.dev/neonclub/apis/ayria-api.md) - [All operations](https://skmtc.dev/neonclub/apis/ayria-api/llms.txt) - [OpenAPI document](https://skmtc.dev/neonclub/apis/ayria-api/revisions/1f6b876e9f89?raw)
