/graph api PATCH requests should by default not return a body
Open
Type:Bug
- Dominant language
- Go
- Stars
- 2.1k
- Forks
- 274
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 103
Description
sth like
```
PATCH https://cloud.ocis.test/graph/v1.0/users/{id}
Content-type: application/json
{
"displayName": "Test User"
}
```
should return
```
HTTP/1.1 204 No Content
```
without a body.
If the representation is needed clients can send a `Prefer: return=representation` header.
See http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#_Toc31358878
Currenty, the /users endpoint always returns the full object.
Contributor guide
Assessment
This issue has not been assessed yet.