Revoke
This tool on every surface: CLI · MCP · Python · JavaScript · Go · Java · .NET
Deny an app's permissions, to test how it behaves without them. These call app_revoke.
Revoke
func (d *Device) Revoke(ctx context.Context, app string, permissions ...string) error
Revoke denies permissions, to test how the app behaves without them.
Examples
Deny a permission, to test the app without it
if err := dev.Revoke(ctx, "com.example.shop", "location"); err != nil {
return err
}