Folder as it appears in the latest container version since the last workspace synchronization operation. If no folder is present, that means the folder was deleted in the latest container version.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-06 UTC."],[],[],null,["# Method: folders.revert\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.RevertFolderResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\n**Full name**: accounts.containers.workspaces.folders.revert\n\nReverts changes to a GTM Folder in a GTM Workspace.\n\n### HTTP request\n\n`POST https://tagmanager.googleapis.com/tagmanager/v2/{path}:revert`\n\n### Path parameters\n\n| Parameters ||\n|--------|-------------------------------------------------------------------------------------------------------------------------------------------------|\n| `path` | `string` GTM Folder's API relative path. It takes the form `accounts/{account}/containers/{container}/workspaces/{workspace}/folders/{folder}`. |\n\n### Query parameters\n\n| Parameters ||\n|---------------|--------------------------------------------------------------------------------------------|\n| `fingerprint` | `string` When provided, this fingerprint must match the fingerprint of the tag in storage. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nThe result of reverting folder changes in a workspace.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"folder\": { object (/tag-platform/tag-manager/api/reference/rest/v2/accounts.containers.workspaces.folders#Folder) } } ``` |\n\n| Fields ||\n|----------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `folder` | `object (`[Folder](/tag-platform/tag-manager/api/reference/rest/v2/accounts.containers.workspaces.folders#Folder)`)` Folder as it appears in the latest container version since the last workspace synchronization operation. If no folder is present, that means the folder was deleted in the latest container version. |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/tagmanager.edit.containers`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]