Skip to content

Commit 1324ee8

Browse files
authored
Merge pull request #189397 from johndowns/apim-revisions
Remove instruction to take API revisions offline
2 parents 16a3ed9 + 2ebba95 commit 1324ee8

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

articles/api-management/api-management-revisions.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,9 @@ description: Learn about the concept of revisions in Azure API Management.
44
services: api-management
55
documentationcenter: ''
66
author: johndowns
7-
87
ms.service: api-management
98
ms.topic: article
10-
ms.date: 06/12/2020
9+
ms.date: 02/22/2022
1110
ms.author: jodowns
1211
ms.custom: fasttrack-new, devx-track-azurepowershell
1312
---
@@ -35,11 +34,6 @@ Each revision to your API can be accessed using a specially formed URL. Append `
3534

3635
By default, each revision has the same security settings as the current revision. You can deliberately change the policies for a specific revision if you want to have different security applied for each revision. For example, you might want to add a [IP filtering policy](./api-management-access-restriction-policies.md#RestrictCallerIPs) to prevent external callers from accessing a revision that is still under development.
3736

38-
A revision can be taken offline, which makes it inaccessible to callers even if they try to access the revision through its URL. You can mark a revision as offline using the Azure portal. If you use PowerShell, you can use the `Set-AzApiManagementApiRevision` cmdlet and set the `Path` argument to `$null`.
39-
40-
> [!NOTE]
41-
> We suggest taking revisions offline when you aren't using them for testing.
42-
4337
## Current revision
4438

4539
A single revision can be set as the *current* revision. This revision will be the one used for all API requests that don't specify an explicit revision number in the URL. You can roll back to a previous revision by setting that revision as current.
@@ -67,6 +61,13 @@ When you set a revision as current you can also optionally specify a public chan
6761
> These properties can only be changed in the current revision. If your edits change any of the above
6862
> properties of a non-current revision, the error message `Can't change property for non-current revision` will be displayed.
6963
64+
## Take a revision offline
65+
66+
A revision can be taken offline, which makes it inaccessible to callers even if they try to access the revision through its URL. You can mark a revision as offline using the Azure portal.
67+
68+
> [!NOTE]
69+
> We suggest taking revisions offline when you aren't using them for testing.
70+
7071
## Versions and revisions
7172

7273
Versions and revisions are distinct features. Each version can have multiple revisions, just like a non-versioned API. You can use revisions without using versions, or the other way around. Typically versions are used to separate API versions with breaking changes, while revisions can be used for minor and non-breaking changes to an API.

0 commit comments

Comments
 (0)