{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":440,"path":"api-reference/rest-api-explorer/t_EnableVersioning.md","title":"Enable versioning for a scripted REST API","bundle":null,"doc_type":null,"release":"australia","body":"\n# Enable versioning for a scripted REST API\n\nEnable versioning for a scripted REST API to provide multiple versions of the API while maintaining compatibility with existing integrations.\n\n## Before you begin\n\nThere must be a scripted REST API defined before you can enable versioning.\n\nRole required: web\\_service\\_admin\n\n## Procedure\n\n1.  Navigate to **All** &gt; **System Web Services** &gt; **Scripted REST APIs**.\n\n2.  Select a scripted REST API.\n\n3.  Under **Related Links**, click **Enable versioning**.\n\n    The **Enable versioning** pop up appears. The **Make version v1 default** check box is selected by default.\n\n4.  Clear the **Make version v1 default** check box to enable versioning without a default version.\n\n    Versioned APIs without a default version are accessible only by using the version-specific URI. Make version v1 default, or select a different version as default after you enable versioning.\n\n5.  Click **OK**.\n\n    The **Versioning** embedded list is added to the Scripted REST Service form. You can add new versions or control which version is default from this list.\n\n\n-   **[Add a version to a scripted REST API](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/rest-api-explorer/t_AddAVersion.md)**  \nAdd a new version to a versioned scripted REST API to define new API behavior without impacting older versions.\n\n**Parent Topic:**[Create a scripted REST API](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/rest-api-explorer/t_CreateAScriptedRESTService.md)\n\n"}}