---
title: "modify site banner (Auth policies: ganjoor:banners)"
method: PUT
path: "/api/banners/{id}"
tags: ["SiteBanners"]
---

# modify site banner (Auth policies: ganjoor:banners)

`PUT /api/banners/{id}`

## Path parameters

- `id` integer, required

## Request body

- GanjoorSiteBannerModifyViewModel — GanjoorSiteBanner PUT ViewModel
  - `alternateText` string, nullable — alternate text
  - `targetUrl` string, nullable — target url
  - `active` boolean — active

## Response `200`

OK

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found

---

[API](https://skmtc.net/ganjoor/apis/rmuseum-api.md) · [All operations](https://skmtc.net/ganjoor/apis/rmuseum-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ganjoor/rmuseum-api/versions/67f214807b28/schema)
