[REST API] Post request to rest api doesn't unpublish entities
- Node.js version: Docker FROM node:18-alpine3.18
- Strapi version: 5.7.0
- Database: postgres 7.2
- Operating system: Docker Container - image strapi
-Typescript

### Describe the bug

When i send api req to route /api/entity/documenId
with different possible ways to unpublish it doesnt unpublish an item

1) I've tried to use data:{publishedAt:null}
2) I've tried to use {data:{publushedAt:null},status:'draft'}
3) I've tried to use query /api/entity/documenId?status=draft

And i've tried different mixes of that 3 request
### Steps to reproduce the behavior

1. Go to Postman
2. Try to send a req which should  unpublish
3. Check that response is 200 and in response if query ?status=draft were used publushedAt is null
4. Go to strapi
5. See that item is not unpublished

### Expected behavior

Item is unpublished after request were sent

### Code snippets
```
async unPublish(id: string, token: string): Promise<StandardResponse<T>> {
		const url = `${process.env.BACKEND_URL}${this.endpoint}/${id}?status=draft`;
		const postData = {
			data:{publishedAt:null}
		};
		try {
			const response = await fetch(url, {
				method: "PUT",
				headers: this.getHeaders(true, token),
				body: JSON.stringify(postData),
			});
			console.log(response)
			return await handleResponse<T>(response);

		} catch (error: any) {
			return handleError(error);
		}
	}
}

```
here is function i use for my unPublishing
