---
title: "DELETE /v1beta/properties/{propertiesId}"
method: DELETE
path: "/v1beta/properties/{propertiesId}"
tags: ["properties"]
---

# DELETE /v1beta/properties/{propertiesId}

`DELETE /v1beta/properties/{propertiesId}`

## Request

- Base URL: `https://analyticsadmin.googleapis.com`
- URL: `https://analyticsadmin.googleapis.com/v1beta/properties/{propertiesId}`
- Auth: OAuth 2 and OAuth 2
  - Implicit: `https://accounts.google.com/o/oauth2/auth`
  - Scopes: `https://www.googleapis.com/auth/analytics.edit`
  - Authorization code: `https://accounts.google.com/o/oauth2/auth`
  - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/analytics.edit`

Marks target Property as soft-deleted (ie: "trashed") and returns it. This API does not have a method to restore soft-deleted properties. However, they can be restored using the Trash Can UI. If the properties are not restored before the expiration time, the Property and all child resources (eg: GoogleAdsLinks, Streams, AccessBindings) will be permanently purged. https://support.google.com/analytics/answer/6154772 Returns an error if the target is not found.

## Path parameters

- `propertiesId` string, required

## Query parameters

- `$.xgafv` '1' | '2'
- `access_token` string
- `alt` 'json' | 'media' | 'proto'
- `callback` string
- `fields` string
- `key` string
- `oauth_token` string
- `prettyPrint` boolean
- `quotaUser` string
- `uploadType` string
- `upload_protocol` string

## Response `200`

Successful response

- GoogleAnalyticsAdminV1betaProperty: A resource message representing a Google Analytics property.
  - `account` string: Immutable. The resource name of the parent account Format: accounts/{account_id} Example: "accounts/123"
  - `createTime` string, google-datetime: Output only. Time when the entity was originally created.
  - `currencyCode` string: The currency type used in reports involving monetary values. Format: https://en.wikipedia.org/wiki/ISO_4217 Examples: "USD", "EUR", "JPY"
  - `deleteTime` string, google-datetime: Output only. If set, the time at which this property was trashed. If not set, then this property is not currently in the trash can.
  - `displayName` string: Required. Human-readable display name for this property. The max allowed display name length is 100 UTF-16 code units.
  - `expireTime` string, google-datetime: Output only. If set, the time at which this trashed property will be permanently deleted. If not set, then this property is not currently in the trash can and is not slated to be deleted.
  - `industryCategory` 'INDUSTRY_CATEGORY_UNSPECIFIED' | 'AUTOMOTIVE' | 'BUSINESS_AND_INDUSTRIAL_MARKETS' | 'FINANCE' | 'HEALTHCARE' | 'TECHNOLOGY' | 'TRAVEL' | 'OTHER' | 'ARTS_AND_ENTERTAINMENT' | 'BEAUTY_AND_FITNESS' | 'BOOKS_AND_LITERATURE' | 'FOOD_AND_DRINK' | 'GAMES' | 'HOBBIES_AND_LEISURE' | 'HOME_AND_GARDEN' | 'INTERNET_AND_TELECOM' | 'LAW_AND_GOVERNMENT' | 'NEWS' | 'ONLINE_COMMUNITIES' | 'PEOPLE_AND_SOCIETY' | 'PETS_AND_ANIMALS' | 'REAL_ESTATE' | 'REFERENCE' | 'SCIENCE' | 'SPORTS' | 'JOBS_AND_EDUCATION' | 'SHOPPING': Industry associated with this property Example: AUTOMOTIVE, FOOD_AND_DRINK
  - `name` string: Identifier. Resource name of this property. Format: properties/{property_id} Example: "properties/1000"
  - `parent` string: Immutable. Resource name of this property's logical parent. Note: The Property-Moving UI can be used to change the parent. Format: accounts/{account}, properties/{property} Example: "accounts/100", "properties/101"
  - `propertyType` 'PROPERTY_TYPE_UNSPECIFIED' | 'PROPERTY_TYPE_ORDINARY' | 'PROPERTY_TYPE_SUBPROPERTY' | 'PROPERTY_TYPE_ROLLUP': Immutable. The property type for this Property resource. When creating a property, if the type is "PROPERTY_TYPE_UNSPECIFIED", then "ORDINARY_PROPERTY" will be implied.
  - `serviceLevel` 'SERVICE_LEVEL_UNSPECIFIED' | 'GOOGLE_ANALYTICS_STANDARD' | 'GOOGLE_ANALYTICS_360': Output only. The Google Analytics service level that applies to this property.
  - `timeZone` string: Required. Reporting Time Zone, used as the day boundary for reports, regardless of where the data originates. If the time zone honors DST, Analytics will automatically adjust for the changes. NOTE: Changing the time zone only affects data going forward, and is not applied retroactively. Format: https://www.iana.org/time-zones Example: "America/Los_Angeles"
  - `updateTime` string, google-datetime: Output only. Time when entity payload fields were last updated.

---

[API](https://skmtc.dev/google/apis/analyticsadmin.md) - [All operations](https://skmtc.dev/google/apis/analyticsadmin/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/analyticsadmin/revisions/2f06698abda1?raw)
