Update app settings
Changes settings of the specified app.
Request format
PUT https://api.appmetrica.yandex.ru/management/v1/application/{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
}
}
|
App name |
|
ID of the app category. To get a list of all app categories, use the Category list method. |
|
Time zone for statistics |
|
The status indicating if the collecting complete IP addresses of users from the EU is enabled. Possible values:
|
|
Acceptance status of the General Data Protection Regulation compliance. Possible values:
|
|
Bundle ID. |
|
App Prefix или Team ID. |
|
Status of using the Universal Link. Possible values:
|
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"
}
}
|
App name |
|
Time zone for statistics |
|
The status indicating if the collecting complete IP addresses of users from the EU is enabled. Possible values:
|
|
Acceptance status of the General Data Protection Regulation compliance. Possible values:
|
|
ID of the app category. To get a list of all app categories, use the Category list method. |
|
Bundle ID. |
|
App Prefix или Team ID. |
|
Status of using the Universal Link. Possible values:
|
|
Universal Link. |
|
App ID |
|
ID of the user who added the app. |
|
Login of the app owner. |
|
API key. |
|
Post API key. |
|
Access rights. Possible values:
For more information, see Managing app access. |
|
The time zone offset relative to UTC in seconds. |
|
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 <your_token>' \
-d '{
"application": {
"name": "string",
"hide_address": true,
"category": 85,
"gdpr_agreement_accepted": true,
"bundle_id": "string",
"team_id": "string",
"use_universal_links": true
}
}'
where <your_token>
is an OAuth token that can be obtained using instructions.
PUT /management/v1/application/{id} HTTP/1.1
Host: api.appmetrica.yandex.ru
Content-Type: application/json
Authorization: OAuth <your_token>
{
"application": {
"name": "string",
"hide_address": true,
"category": 85,
"gdpr_agreement_accepted": true,
"bundle_id": "string",
"team_id": "string",
"use_universal_links": true
}
}
where <your_token>
is an OAuth token that can be obtained using instructions.
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.