Skip to content

Commit 6d0e6cb

Browse files
authored
fix: polish the force permission level example (#2103)
1 parent d3406ef commit 6d0e6cb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sources/platform/actors/development/permissions/migration_guide.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ You can override the permission level for a single run using run options under t
2727
You can do the same using the Apify Client as well:
2828

2929
```ts
30+
import { ACTOR_PERMISSION_LEVEL } from '@apify/consts';
31+
3032
await apifyClient.actor(actorId).call(input, {
3133
forcePermissionLevel: ACTOR_PERMISSION_LEVEL.LIMITED_PERMISSIONS,
3234
});
@@ -35,7 +37,7 @@ await apifyClient.actor(actorId).call(input, {
3537
Or 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

0 commit comments

Comments
 (0)