Skip to content

Add access revoke command #727

@slapec93

Description

@slapec93
# Inputs:
# - list-name: a user-friendly name for the grantee list (short hand: name)
# - grantee: array of public keys of grantees (optional)
# - verbose: show more details in the output
#
# Outputs:
# - current-grantee-list: the public keys with granted access
# - grantee-list-ref: new reference for the grantee list (in case of verbose flag)
# - act-history-address: new ACT history address (in case of verbose flag)
#
# This command would basically call `PATCH /grantee` with the list of grantees in the `revoke`
# field of the request body using the latest history address for the provided list name

swarm-cli access revoke --grantee <pubkey1> --grantee <pubkey2> --list-name <name>

Metadata

Metadata

Assignees

Labels

No labels
No labels
No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions