[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-30 UTC."],[[["\u003cp\u003eThis page documents the process for deleting a tenant using the Identity Toolkit API, requiring write permission on the Agent project.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDELETE\u003c/code\u003e HTTP request is made to a specific URL using gRPC Transcoding syntax, including the tenant's resource name in the path.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization to delete a tenant requires the \u003ccode\u003eidentitytoolkit.tenants.delete\u003c/code\u003e IAM permission on the tenant's resource name.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be empty, and if successful, the response body will also be an empty JSON object.\u003c/p\u003e\n"],["\u003cp\u003eOne of three OAuth scopes (\u003ccode\u003ehttps://www.googleapis.com/auth/identitytoolkit\u003c/code\u003e, \u003ccode\u003ehttps://www.googleapis.com/auth/firebase\u003c/code\u003e, or \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e) is required for authorization.\u003c/p\u003e\n"]]],[],null,["# Method: projects.tenants.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\nDelete a tenant. Requires write permission on the Agent project.\n\n### HTTP request\n\n`DELETE https://identitytoolkit.googleapis.com/v2/{name=projects/*/tenants/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body is an empty JSON object.\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/identitytoolkit`\n- `\n https://www.googleapis.com/auth/firebase`\n- `\n https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp)."]]