Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
api_docs: Deprecate 'remove-fcm-token' & 'remove-apns-token'.
Prakhar Pratyushe64be0c48bbe
diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yamlindex b0e126ac9be..5450aca7dfa 100644--- a/zerver/openapi/zulip.yaml+++ b/zerver/openapi/zulip.yaml@@ -13188,11 +13188,19 @@ paths:description: |A typical failed JSON response for when the APNs token is invalid:delete:+ deprecated: trueoperationId: remove-apns-tokensummary: Remove an APNs device tokentags: ["users"]description: |This endpoint removes an APNs device token for iOS push notifications.++ **Changes**: Deprecated in Zulip 11.0 (feature level 406) and will be+ removed in a future release. Clients connecting to newer servers and+ with E2EE push notifications support should delete the account record+ in their local accounts table that corresponds to the `push_account_id`+ supplied when registering via the [Register E2EE push device](/api/register-push-device)+ endpoint, to stop displaying notifications for that registration.requestBody:required: truecontent:@@ -13284,11 +13292,19 @@ paths:"code": "BAD_REQUEST",}delete:+ deprecated: trueoperationId: remove-fcm-tokensummary: Remove an FCM registration tokentags: ["users"]description: |This endpoint removes an FCM registration token for push notifications.++ **Changes**: Deprecated in Zulip 11.0 (feature level 406) and will be+ removed in a future release. Clients connecting to newer servers and+ with E2EE push notifications support should delete the account record+ in their local accounts table that corresponds to the `push_account_id`+ supplied when registering via the [Register E2EE push device](/api/register-push-device)+ endpoint, to stop displaying notifications for that registration.requestBody:required: truecontent: