From 05ac2dc51c112ba24effa9bba4c0bd4960ccd4de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobi=C3=A1=C5=A1=20Poto=C4=8Dek?= Date: Fri, 21 Nov 2025 15:30:55 +0100 Subject: [PATCH] fix: polish the force permission level example --- .../actors/development/permissions/migration_guide.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sources/platform/actors/development/permissions/migration_guide.md b/sources/platform/actors/development/permissions/migration_guide.md index a52269081..383b83685 100644 --- a/sources/platform/actors/development/permissions/migration_guide.md +++ b/sources/platform/actors/development/permissions/migration_guide.md @@ -27,6 +27,8 @@ You can override the permission level for a single run using run options under t You can do the same using the Apify Client as well: ```ts +import { ACTOR_PERMISSION_LEVEL } from '@apify/consts'; + await apifyClient.actor(actorId).call(input, { forcePermissionLevel: ACTOR_PERMISSION_LEVEL.LIMITED_PERMISSIONS, }); @@ -35,7 +37,7 @@ await apifyClient.actor(actorId).call(input, { Or just using the API: ```tsx - POST https://api.apify.com/v2/acts//runs?**forcePermissionLevel=LIMITED_PERMISSIONS** + POST https://api.apify.com/v2/acts//runs?forcePermissionLevel=LIMITED_PERMISSIONS ```