Skip to content

Commit 7f30a28

Browse files
authored
Update opt-out-api-quickstart.md
1 parent 4e893c5 commit 7f30a28

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

articles/communication-services/quickstarts/sms/opt-out-api-quickstart.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ services: azure-communication-services
55
author: besh2014
66
product manager: dbasantes
77
ms.service: azure-communication-services
8+
ms.author: besh2014
89
ms.subservice: sms
910
ms.date: 12/04/2024
1011
ms.topic: quickstart
@@ -20,8 +21,8 @@ This article describes how to enable opt-out management for your Azure Communica
2021
- An active Communication Services resource and connection string. See [Create a Communication Services resource](../create-communication-resource.md).
2122
- To enable Opt-out management on your Azure Communication Services resource, contact [[email protected]](mailto:[email protected]) to allow-list your `Immutable resource Id` (as listed on the **Properties** page in the Azure portal), and associated SMS-enabled toll-free numbers.
2223

23-
# Quickstart: Send OptOut API requests with API (HMAC)
24-
Sending is similar to SMS as described in the [Azure Communication Services Postman Tutorial](https://learn.microsoft.com/en-us/azure/communication-services/tutorials/postman-tutorial) with the difference of endpoints for OptOut Actions (Add, Remove, or Check) and body. The request body has the same structure for all actions, while the response content slightly differs.
24+
## Quickstart: Send OptOut API requests with API (HMAC)
25+
Sending is similar to SMS as described in the [Azure Communication Services Postman Tutorial](https://learn.microsoft.com/azure/communication-services/tutorials/postman-tutorial) with the difference of endpoints for OptOut Actions (Add, Remove, or Check) and body. The request body has the same structure for all actions, while the response content slightly differs.
2526

2627
### Endpoints
2728

@@ -123,8 +124,8 @@ In general, response content are the same for all actions and contain the succes
123124
#### Prerequisites
124125

125126
- The .NET Core SDK version mush be higher than v6 for your operating system.
126-
- An active Communication Services resource and connection string. [Create a Communication Services resource](https://learn.microsoft.com/en-us/azure/communication-services/quickstarts/create-communication-resource).
127-
- An SMS-enabled telephone number. See [Get a phone number](https://learn.microsoft.com/en-us/azure/communication-services/quickstarts/telephony/get-phone-number) and `allowlisted` as described in the beginning of the article.
127+
- An active Communication Services resource and connection string. [Create a Communication Services resource](https://learn.microsoft.com/azure/communication-services/quickstarts/create-communication-resource).
128+
- An SMS-enabled telephone number. See [Get a phone number](https://learn.microsoft.com/azure/communication-services/quickstarts/telephony/get-phone-number) and `allowlisted` as described in the beginning of the article.
128129

129130
```cs
130131
using System.Globalization;
@@ -206,8 +207,8 @@ await SendOptOutAdd(ConnectionString, payload);
206207
#### Prerequisites
207208

208209
- Browser or Node.js Active LTS and Maintenance LTS versions (8.11.1 and 10.14.1 are recommended).
209-
- An active Communication Services resource and connection string. See [Create a Communication Services resource](https://learn.microsoft.com/en-us/azure/communication-services/quickstarts/create-communication-resource).
210-
- An SMS-enabled telephone number. See [Get a phone number](https://learn.microsoft.com/en-us/azure/communication-services/quickstarts/telephony/get-phone-number).
210+
- An active Communication Services resource and connection string. See [Create a Communication Services resource](https://learn.microsoft.com/azure/communication-services/quickstarts/create-communication-resource).
211+
- An SMS-enabled telephone number. See [Get a phone number](https://learn.microsoft.com/azure/communication-services/quickstarts/telephony/get-phone-number).
211212
- [CryptoJS](https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/crypto-js/CryptoJS%20v3.1.2.zip) is JavaScript implementations of standard and secure cryptographic algorithms.
212213

213214

@@ -287,8 +288,8 @@ sendOptOutAdd(ConnectionString, payload);
287288
#### Prerequisites
288289

289290
- Java Development Kit (JDK) version 8 or above.
290-
- An active Communication Services resource and connection string. See [Create a Communication Services resource](https://learn.microsoft.com/en-us/azure/communication-services/quickstarts/create-communication-resource).
291-
- An SMS-enabled telephone number. See [Get a phone number](https://learn.microsoft.com/en-us/azure/communication-services/quickstarts/telephony/get-phone-number).
291+
- An active Communication Services resource and connection string. See [Create a Communication Services resource](https://learn.microsoft.com/azure/communication-services/quickstarts/create-communication-resource).
292+
- An SMS-enabled telephone number. See [Get a phone number](https://learn.microsoft.com/azure/communication-services/quickstarts/telephony/get-phone-number).
292293

293294

294295
```java

0 commit comments

Comments
 (0)