Unassigning an Announcement from a Document
You use this API to unassign an announcement from a document.
Request
- HTTP Method: POST
- URL: Application_URL/services/api/v1/documents/unassign/announcement
- Authorization: You must have the roles DOCUMENT_EDIT or DOCUMENT_DELETE assigned to your user IDin the SAP Cloud Platform account.
- Schema: To know about fields that you can use in a request payload, refer to the request schema in https://help.sap.com/doc/c8af652c31a6435baf13e424539276d4/1902/en-US/documents.html#documents_unassign_announcement_post.
Response
If you have unassigned the announcement successfully, the system sends a status code of 204. Otherwise, the system returns appropriate error codes. For more information on the response schema and the corresponding status codes, see https://help.sap.com/doc/c8af652c31a6435baf13e424539276d4/1902/en-US/documents.html#documents_unassign_announcement_post.