File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
sources/platform/actors/development/permissions Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,8 @@ You can override the permission level for a single run using run options under t
2727You can do the same using the Apify Client as well:
2828
2929``` ts
30+ import { ACTOR_PERMISSION_LEVEL } from ' @apify/consts' ;
31+
3032await apifyClient .actor (actorId ).call (input , {
3133 forcePermissionLevel: ACTOR_PERMISSION_LEVEL .LIMITED_PERMISSIONS ,
3234});
@@ -35,7 +37,7 @@ await apifyClient.actor(actorId).call(input, {
3537Or just using the API:
3638
3739``` tsx
38- POST https :// api.apify.com/v2/acts/<actor_id>/runs?** forcePermissionLevel=LIMITED_PERMISSIONS**
40+ POST https :// api.apify.com/v2/acts/<actor_id>/runs?forcePermissionLevel=LIMITED_PERMISSIONS
3941```
4042
4143
You can’t perform that action at this time.
0 commit comments