From 4408198e49b52755b675539515cd0b384f88c981 Mon Sep 17 00:00:00 2001 From: Tom Foster Date: Thu, 31 Jul 2025 14:10:20 +0100 Subject: [PATCH] Update data/api/client-server/profile.yaml Co-authored-by: Johannes Marbach --- data/api/client-server/profile.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/data/api/client-server/profile.yaml b/data/api/client-server/profile.yaml index 19099952..f26f0052 100644 --- a/data/api/client-server/profile.yaml +++ b/data/api/client-server/profile.yaml @@ -26,9 +26,9 @@ paths: access token authorised to make changes. Servers MAY impose size limits on individual fields, and the total profile MUST be under 64 KiB. - **Note**: Setting a field to `null` keeps the key but with a `null` value, - which some servers may reject. To remove a field completely, use the - `DELETE` endpoint instead. + Servers MAY reject `null` values. Servers that accept `null` values SHOULD store + them rather than treating `null` as a deletion request. Clients that want to delete a + field, including its key and value, SHOULD use the `DELETE` endpoint instead. operationId: setProfileField security: - accessTokenQuery: []