# Update an existing announcement Update the individual Announcement details. ## Endpoint `PUT /api/v1/mdm/announcements/{announcement_id}` ## Request URL `https://`[*{serverurl}*](https://www.manageengine.com/mobile-device-management/help/api/cloud/oauth-authentication-endpoint-domain.html)`/api/v1/mdm/announcements/{announcement_id}` ## Scope `MDMOnDemand.MDMDeviceMgmt.UPDATE` ## Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ## Request Parameters ### Request Headers - **Content-Type** `string` — **Mandatory** — `application/json` - **Accept** `string` — **Mandatory** — `application/json` ### Path Parameters - **announcement_id** `string` — **Mandatory** Unique identifier of the announcement. Obtain from the [Create Announcement](https://www.manageengine.com/mobile-device-management/help/api/cloud/announcements-create-announcement.html) or [Get Announcements](https://www.manageengine.com/mobile-device-management/help/api/cloud/announcements-get-announcements.html) response. ### Request Body `application/json` - `JSON object` - **announcement_name** `string` — **Mandatory** Name/title of the announcement. Must be unique within the customer. - **announcement_format** `integer` — Optional Display format for the announcement (e.g., 1). - **announcement_detail** `JSON object` — Optional Nested object containing message details including title, content, icon, and acknowledgement settings. ## Sample Request ### Curl ```curl curl --request PUT \ --url https://appdomain/api/v1/mdm/announcements/{announcement_id} \ --header 'Accept: application/json' \ --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \ --header 'Content-Type: application/json' \ --data '{"announcement_name":"Updated Test Announcement"}' ``` ## Sample Request Body Update announcement content. Full replacement — all required fields must be provided. Updated content is auto-redistributed. ```json { "announcement_name": "Updated Test Announcement", "announcement_format": 1, "announcement_detail": { "ack_button": "Got It", "nbar_message": "Updated notification", "title_color": "#ffffff", "nbar_icon": "/images/announcement/nbaricon/info.png", "needs_acknowledgement": true, "detail_message": "<p>Updated announcement content</p>", "title": "Updated Test Announcement" } } ``` ## Possible Response Codes - **204** — HTTP code ## Sample Response: HTTP 204 ```text 204 No Content ``` ![ ](https://www.zohowebstatic.com/sites/zweb/images/people/ico-help.png) **Duration:** 1 minute | **Threshold:** 60 | **Lock period:** 5 minutes Duration - Time window for the threshold. Threshold - Number of API calls allowed within the specified duration. Lock Period - Wait time before consecutive API requests.