mirror of
https://github.com/AnimeThemes/animethemes-api-docs.git
synced 2026-07-26 08:53:59 +02:00
title
| title |
|---|
| Announcement Update |
Announcement Update Endpoint
The announcement update endpoint updates an announcement and returns the updated announcement resource.
For example, the /api/announcement/1?content=The+Release+Has+Been+Deployed! endpoint will update the announcement content attribute and return the updated announcement resource.
URL
PUT|PATCH /api/announcement/{id}
Authentication
Required Permission: update announcement
Roles with Permission: Admin
Parameters
| Name | Required | Rules |
|---|---|---|
| content | No | string, max:65535 |
Response
{
announcement: {
id: id,
content: "content",
created_at: "created_at",
updated_at: "updated_at",
deleted_at: "deleted_at"
}
}