mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-26 04:54:10 +01:00
Return 400 if the request body isn't an object.
This commit is contained in:
parent
bbd380d761
commit
b009b7d944
|
|
@ -71,6 +71,9 @@ paths:
|
|||
application/json: {}
|
||||
schema:
|
||||
type: object
|
||||
400:
|
||||
description: |-
|
||||
The request body is not a JSON object.
|
||||
403:
|
||||
description: |-
|
||||
The access token provided is not authorized to modify this user's account
|
||||
|
|
@ -174,6 +177,9 @@ paths:
|
|||
application/json: {}
|
||||
schema:
|
||||
type: object
|
||||
400:
|
||||
description: |-
|
||||
The request body is not a JSON object.
|
||||
403:
|
||||
description: |-
|
||||
The access token provided is not authorized to modify this user's account
|
||||
|
|
|
|||
Loading…
Reference in a new issue