put
https://{yourinstance}.makaira.io/banner/
Updates an existing advertising banner.
Requires authentication.
Request
PUT /banner/{id}
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | integer | Yes | The ID of the banner to update. |
Headers
| Header | Value |
|---|---|
Authorization | Bearer <token> |
Content-Type | application/json |
Request Body
Accepts the same fields as the create endpoint. Only provided fields are updated. See Create a new banner for field descriptions.
Example Request
{
"active": false,
"title": "Summer Sale Ended"
}Response
Returns the updated banner object.
200Updated

