You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -35,11 +34,6 @@ Each revision to your API can be accessed using a specially formed URL. Append `
35
34
36
35
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.
37
36
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
-
43
37
## Current revision
44
38
45
39
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
67
61
> These properties can only be changed in the current revision. If your edits change any of the above
68
62
> properties of a non-current revision, the error message `Can't change property for non-current revision` will be displayed.
69
63
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
+
70
71
## Versions and revisions
71
72
72
73
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