Update app settings

Changes settings of the specified app.

Request format

PUT https://api.appmetrica.yandex.ru/management/v1/application/{id}

id

App ID

Request body

{
  "application": {
    "name": "string",
    "category": int,
    "time_zone_name": "string",
    "hide_address": bool,
    "gdpr_agreement_accepted": bool,
    "bundle_id": "string",
    "team_id": "string",
    "use_universal_links": bool
  }
}

name

App name

category

ID of the app category.

To get a list of all app categories, use the Category list method.

time_zone_name

Time zone for statistics

hide_address

The status indicating if the collecting complete IP addresses of users from the EU is enabled.

Possible values:

  • true — Enabled.
  • false — Disabled.

gdpr_agreement_accepted

Acceptance status of the General Data Protection Regulation compliance.

Possible values:

  • true — The compliance is accepted.
  • false — The compliance is declined.

bundle_id

Bundle ID.

team_id

App Prefix или Team ID.

use_universal_links

Status of using the Universal Link.

Possible values:

  • true — Use universal link is enabled.
  • false — Use universal link is disabled.

Response format

{
  "application": {
    "name": "string",
    "time_zone_name": "string",
    "hide_address": bool,
    "gdpr_agreement_accepted": bool,
    "category": int,
    "bundle_id": "string",
    "team_id": "string",
    "use_universal_links": bool,
    "universal_link": "string",
    "id": int,
    "uid": int,
    "owner_login": "string",
    "api_key128": "string",
    "import_token": "string",
    "permission": "string",
    "time_zone_offset": int,
    "create_date": "YYYY-MM-DD"
  }
}

name

App name

time_zone_name

Time zone for statistics

hide_address

The status indicating if the collecting complete IP addresses of users from the EU is enabled.

Possible values:

  • true — Enabled.
  • false — Disabled.

gdpr_agreement_accepted

Acceptance status of the General Data Protection Regulation compliance.

Possible values:

  • true — The compliance is accepted.
  • false — The compliance is declined.

category

ID of the app category.

To get a list of all app categories, use the Category list method.

bundle_id

Bundle ID.

team_id

App Prefix или Team ID.

use_universal_links

Status of using the Universal Link.

Possible values:

  • true — Use universal link is enabled.
  • false — Use universal link is disabled.

universal_link

Universal Link.

id

App ID

uid

ID of the user who added the app.

owner_login

Login of the app owner.

api_key128

API key.

import_token

Post API key.

permission

Access rights.

Possible values:

  • view — Read only.
  • edit — Read/Edit.
  • agency_view — Agency read only.
  • agency_edit — Agency read/edit.
  • own — App owner.

For more information, see Managing app access.

time_zone_offset

The time zone offset relative to UTC in seconds.

create_date

Date the app was added.

Example

curl -X PUT \
  'https://api.appmetrica.yandex.ru/management/v1/application/1111' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: OAuth 05dd3dd84ff948fdae2bc4fb91f13e22bb1f289ceef0037' \
  -d '{
    "application": {
        "name": "string",
        "hide_address": true,
        "category": 85,
        "gdpr_agreement_accepted": true,
        "bundle_id": "string",
        "team_id": "string",
        "use_universal_links": true
    }
}'
PUT /management/v1/application/{id} HTTP/1.1
Host: api.appmetrica.yandex.ru
Content-Type: application/json
Authorization: OAuth 05dd3dd84ff948fdae2bc4fb91f13e22bb1f289ceef0037

{
    "application": {
        "name": "string",
        "hide_address": true,
        "category": 85,
        "gdpr_agreement_accepted": true,
        "bundle_id": "string",
        "team_id": "string",
        "use_universal_links": true
    }
}

If you didn't find the answer you were looking for, you can use the feedback form to submit your question. Please describe the problem in as much detail as possible. Attach a screenshot if possible.

Contact support