mirror of
https://github.com/matrix-org/matrix-spec
synced 2025-12-27 11:28:38 +01:00
Remove duplicate endpoint behavior
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
parent
c71c1e225b
commit
59cfacf94f
|
|
@ -547,19 +547,13 @@ client-server endpoint.
|
|||
Application services need to be able to create and delete devices to manage the
|
||||
encryption for their users without having to rely on `/login`, which also
|
||||
generates an access token for the user, and which might not be available for
|
||||
homeservers that only support the [OAuth 2.0 API](client-server-api/#oauth-20-api).
|
||||
homeservers that only support the [OAuth 2.0 API](/client-server-api/#oauth-20-api).
|
||||
|
||||
##### Creating devices
|
||||
|
||||
Application services can use the [`PUT /_matrix/client/v3/devices/{deviceId}`](/client-server-api/#put_matrixclientv3devicesdeviceid)
|
||||
endpoint to create new devices.
|
||||
|
||||
When a new device was created, the homeserver MUST return a 201 HTTP status code.
|
||||
It MUST still return a 200 HTTP status code if a device was updated.
|
||||
|
||||
This endpoint is rate-limited for device creation. Servers MAY want to use login
|
||||
rate limits.
|
||||
|
||||
##### Deleting devices
|
||||
|
||||
The following endpoints used to delete devices MUST NOT require [User-Interactive
|
||||
|
|
|
|||
Loading…
Reference in a new issue