Deleting access

Deletes previously granted access permissions.

Request format

DELETE https://api.appmetrica.yandex.ru/management/v1/application/{id}/grant?user_login={login}

id

App ID

login

Yandex email address (login) of the user.

Alert

If you omit the user_login parameter, the access is revoked from the user making the request, that is, the user unsubscribes from the app.

Example

curl -X DELETE \
  'https://api.appmetrica.yandex.ru/management/v1/application/1111/grant?user_login=user123' \
  -H 'Authorization: OAuth 05dd3dd84ff948fdae2bc4fb91f13e22bb1f289ceef0037'
GET /management/v1/application/1111/grant?user_login=user123' HTTP/1.1
Host: api.appmetrica.yandex.ru
Authorization: OAuth 05dd3dd84ff948fdae2bc4fb91f13e22bb1f289ceef0037

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
In this article: