Skip to main content
PUT
Grant app permission
Grants the permission directly — the app will not prompt the user for it on the device. The short name expands to the full Android permission string: POST_NOTIFICATIONS becomes android.permission.POST_NOTIFICATIONS. The target app must already be installed. Not supported on iOS devices — the request fails with an unsupported-feature error. Use revoke-permission to take the permission back.

Authorizations

Authorization
string
header
required

Bearer token via Authorization header

Headers

X-Device-Display-ID
integer<int64>
default:0
Required range: x >= 0

Path Parameters

deviceId
string
required
packageName
string
required
permission
enum<string>
required

Android runtime permission, short name (e.g. POST_NOTIFICATIONS).

Available options:
POST_NOTIFICATIONS

Response

No Content