[REST API] Post request to rest api doesn't unpublish entities
### Node Version

node:18-alpine3.18

### NPM/Yarn/PNPM Version

yarn 1.22.22

### Strapi Version

5.7.0

### Operating System

Linux (Debian/Ubuntu)

### Database

PostgreSQL

### Javascript or Typescript

Typescript

### Reproduction URL

_No response_

### Bug Description

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

I've tried to use data:{publishedAt:null}
I've tried to use {data:{publushedAt:null},status:'draft'}
I've tried to use query /api/entity/documenId?status=draft
And i've tried different mixes of that 3 request



### Steps to Reproduce

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

### Logs

```shell

```

### 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);
		}
	}
}

```

### Media

_No response_

### Additional information

_No response_

### Confirmation Checklist

- [x] I have checked the existing [issues](https://github.com/strapi/strapi/issues) for duplicates.
- [x] I agree to follow this project's [Code of Conduct](https://github.com/strapi/strapi/blob/develop/CODE_OF_CONDUCT.md).