Skip to content

Commit e1a16c3

Browse files
committed
feat: add remainingAccess parameter to revokeOneAccess method
1 parent fe8e505 commit e1a16c3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/references/dataProtector/methods/revokeOneAccess.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ const revokeAccess = await dataProtectorCore.revokeOneAccess({
3838
tag: '0x0000000000000000000000000000000000000000000000000000000000000003',
3939
volume: '1',
4040
workerpoolrestrict: '0x000...',
41+
remainingAccess: 1,
4142
});
4243
```
4344

@@ -70,6 +71,7 @@ const revokeAccess = await dataProtectorCore.revokeOneAccess({
7071
tag: '0x0000000000000000000000000000000000000000000000000000000000000003', // [!code focus]
7172
volume: '1', // [!code focus]
7273
workerpoolrestrict: '0x000...', // [!code focus]
74+
remainingAccess: 1, // [!code focus]
7375
});
7476
```
7577

0 commit comments

Comments
 (0)