Skip to content

Commit e4427b1

Browse files
maximrytych-msharryli0108
authored andcommitted
Remove repeatability support for token revocation endpoint (Azure#24589)
1 parent c944cb6 commit e4427b1

File tree

2 files changed

+4
-32
lines changed

2 files changed

+4
-32
lines changed

specification/communication/data-plane/Identity/stable/2023-08-01/CommunicationIdentity.json

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -133,20 +133,6 @@
133133
},
134134
{
135135
"$ref": "#/parameters/ApiVersionParameter"
136-
},
137-
{
138-
"in": "header",
139-
"name": "Repeatability-Request-ID",
140-
"description": "If specified, the client directs that the request is repeatable; that is, that the client can make the request multiple times with the same Repeatability-Request-Id and get back an appropriate response without the server executing the request multiple times. The value of the Repeatability-Request-Id is an opaque string representing a client-generated, globally unique for all time, identifier for the request. It is recommended to use version 4 (random) UUIDs. Internal identifiers shouldn't be used. The value should be an opaque meaningless string in UUID format.",
141-
"type": "string",
142-
"format": "uuid"
143-
},
144-
{
145-
"in": "header",
146-
"name": "Repeatability-First-Sent",
147-
"description": "If Repeatability-Request-ID header is specified, then Repeatability-First-Sent header must also be specified. The value should be the date and time at which the request was first created, expressed using the IMF-fixdate form of HTTP-date",
148-
"type": "string",
149-
"format": "date-time-rfc1123"
150136
}
151137
],
152138
"responses": {
@@ -157,17 +143,11 @@
157143
}
158144
},
159145
"204": {
160-
"description": "No Content",
161-
"headers": {
162-
"Repeatability-Result": {
163-
"description": "Result of idempotent request. Present only in case of idempotent processing.",
164-
"type": "string"
165-
}
166-
}
146+
"description": "No Content"
167147
}
168148
},
169149
"x-ms-examples": {
170-
"Revoke access tokens with optional idempotent processing using Repeatability-Request-ID and Repeatability-First-Sent headers. If the headers are not provided, the request will be processed in a non-idempotent way which can lead to more tokens being revoked than intended on a retry.": {
150+
"Revoke access tokens": {
171151
"$ref": "./examples/RevokeAccessTokens.json"
172152
}
173153
}

specification/communication/data-plane/Identity/stable/2023-08-01/examples/RevokeAccessTokens.json

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,9 @@
33
"api-version": "2023-08-01",
44
"content-type": "application/json",
55
"id": "8:acs:2dee53b4-368b-45b4-ab52-8493fb117652_00000005-14a2-493b-8a72-5a3a0d000081",
6-
"endpoint": "https://my-resource.communication.azure.com",
7-
"headers": {
8-
"Repeatability-Request-ID": "4e7d453c-ae97-4778-ad51-cb3b4a701100",
9-
"Repeatability-First-Sent": "Sun, 10 Sep 2023 20:39:30 GMT"
10-
}
6+
"endpoint": "https://my-resource.communication.azure.com"
117
},
128
"responses": {
13-
"204": {
14-
"headers": {
15-
"Repeatability-Result": "accepted"
16-
}
17-
}
9+
"204": {}
1810
}
1911
}

0 commit comments

Comments
 (0)