Method: organizations.analyticsAccountLinks.delete
Stay organized with collections
Save and categorize content based on your preferences.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[[["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 2024-10-31 UTC."],[[["\u003cp\u003eDeletes the link between an Analytics account and a Google Marketing Platform organization.\u003c/p\u003e\n"],["\u003cp\u003eRequires the user to have appropriate organization and Analytics account admin permissions.\u003c/p\u003e\n"],["\u003cp\u003eUses a DELETE request with the Analytics account link name specified in the path.\u003c/p\u003e\n"],["\u003cp\u003eThe request body should be empty, and a successful deletion results in an empty response body.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization is needed with the \u003ccode\u003ehttps://www.googleapis.com/auth/marketingplatformadmin.analytics.update\u003c/code\u003e scope.\u003c/p\u003e\n"]]],[],null,["# Method: organizations.analyticsAccountLinks.delete\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nDeletes the AnalyticsAccountLink, which detaches the Analytics account from the Google Marketing Platform organization.\n\nUser needs to be an org user, and admin on the Analytics account in order to delete the link.\n\n### HTTP request\n\n`DELETE https://marketingplatformadmin.googleapis.com/v1alpha/{name=organizations/*/analyticsAccountLinks/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------|-------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Required. The name of the Analytics account link to delete. Format: organizations/{org_id}/analyticsAccountLinks/{analytics_account_link_id} |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body is empty.\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/marketingplatformadmin.analytics.update`"]]