Skip to content

Commit 89eb02e

Browse files
authored
Update opt-out-api-quickstart.md
1 parent 90dcb9d commit 89eb02e

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ms.topic: quickstart
1515

1616
This article describes how to enable opt-out management for your Azure Communication Services resource using hash message authentication code (HMAC) based authentication.
1717

18-
## Global Prerequisites
18+
## Global prerequisites
1919

2020
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
2121
- An active Communication Services resource and connection string. See [Create a Communication Services resource](../create-communication-resource.md).
@@ -34,9 +34,9 @@ Sending an Opt-out API request is similar to SMS as described in the [Azure Comm
3434

3535
Here are some examples in different languages.
3636

37-
### Sample Request
37+
### Sample request
3838

39-
#### Request Headers
39+
#### Request headers
4040

4141
| Header | Value |
4242
|-----------------------|-----------------------------------------------------------------|
@@ -45,7 +45,7 @@ Here are some examples in different languages.
4545
| x-ms-content-sha256 | JKUqoPANwVA55u/NOCsS0Awa4cYrKKNtBwUqoaqrob0= |
4646
| Authorization | HMAC-SHA256 SignedHeaders=x-ms-date;host;x-ms-content-sha256&Signature=IMbd3tE3nOgEkeUQGng6oQew5aEcrZJQqHkyq8qsbLg= |
4747

48-
#### Request Body
48+
#### Request body
4949

5050
```json
5151
{
@@ -61,10 +61,10 @@ Here are some examples in different languages.
6161
}
6262
```
6363

64-
### Sample Response
64+
### Sample response
6565
In general, response contents are the same for all actions and contain the success or failure `HttpStatusCode` per recipient. The only difference is that the `Check` action, which also returns the `isOptedOut` flag.
6666

67-
#### Response Status
67+
#### Response status
6868
- 200 Ok
6969

7070
#### Add OptOut action response body
@@ -84,7 +84,7 @@ In general, response contents are the same for all actions and contain the succe
8484
}
8585
```
8686

87-
#### Remove OptOut Action Response Body
87+
#### Remove OptOut action response body
8888
```json
8989
{
9090
"value": [
@@ -100,7 +100,7 @@ In general, response contents are the same for all actions and contain the succe
100100
}
101101
```
102102

103-
#### Check OptOut Action Response Body
103+
#### Check OptOut action response body
104104
```json
105105
{
106106
"value": [
@@ -117,7 +117,7 @@ In general, response contents are the same for all actions and contain the succe
117117
]
118118
}
119119
```
120-
## Sample Code to Use API
120+
## Sample code to use Opt-Out API
121121

122122
### C#
123123

0 commit comments

Comments
 (0)