---
title: "Grant app permission"
method: PUT
path: "/devices/{deviceId}/apps/{packageName}/permissions/{permission}"
tags: ["Apps"]
---

# Grant app permission

`PUT /devices/{deviceId}/apps/{packageName}/permissions/{permission}`

Grants an Android runtime permission to the package named in the path. The permission is given by its short name (e.g. POST_NOTIFICATIONS).

## Path parameters

- `deviceId` string, required
- `packageName` string, required
- `permission` 'POST_NOTIFICATIONS', required — Android runtime permission, short name (e.g. POST_NOTIFICATIONS).

## Headers

- `X-Device-Display-ID` integer

## Response `204`

No Content

## Other responses

- `default` — Error

---

[API](https://skmtc.net/mobilerun/apis/workflows.md) · [All operations](https://skmtc.net/mobilerun/apis/workflows/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mobilerun/workflows/versions/1bc499aa8f99/schema)
