pio access revoke
Usage
pio access revoke [OPTIONS] <ORGNAME:TEAMNAME>|<USERNAME> URN
Description
Remove the ability of users and teams to have access to a resource.
You can revoke access for the team members using the next format orgname:teamname
.
See the examples below.
Options
- --urn-type
Resource type in URN form.
Default is set to prn:reg:pkg
which means to grant an access to the package in
the registry.
Examples
Revoke access from a resource for the “bob” user:
> pio access revoke bob prn:reg:pkg:8036:platform
Access for resource "prn:reg:pkg:8036:platform" has been revoked for "bob"
Add the ability of PlatformIO’s “developer” team to have “admin” access to a resource.
> pio access revoke platformio:developers prn:reg:pkg:8036:platform
Access for resource "prn:reg:pkg:8036:platform" has been revoked for "platformio:developers"