|
|
|
@ -31,9 +31,9 @@ paths:
|
|
|
|
field, including its key and value, SHOULD use the `DELETE` endpoint instead.
|
|
|
|
field, including its key and value, SHOULD use the `DELETE` endpoint instead.
|
|
|
|
|
|
|
|
|
|
|
|
This endpoint uses [capabilities negotiation](/client-server-api/#capabilities-negotiation)
|
|
|
|
This endpoint uses [capabilities negotiation](/client-server-api/#capabilities-negotiation)
|
|
|
|
depending on the `keyName`.
|
|
|
|
depending on the `keyName`. Clients SHOULD check the value of the
|
|
|
|
For the `displayname` key, clients SHOULD check the value of the [`m.set_displayname` capability](/client-server-api/#mset_displayname-capability).
|
|
|
|
[`m.profile_fields` capability](/client-server-api/#mprofile_fields-capability) to detect
|
|
|
|
For the `avatar_url` key, clients SHOULD check the value of the [`m.set_avatar_url` capability](/client-server-api/#mset_avatar_url-capability).
|
|
|
|
which `keyName`s they are allowed to modify.
|
|
|
|
operationId: setProfileField
|
|
|
|
operationId: setProfileField
|
|
|
|
security:
|
|
|
|
security:
|
|
|
|
- accessTokenQuery: []
|
|
|
|
- accessTokenQuery: []
|
|
|
|
|