Globus Connect Server Endpoint Role Delete
Description
The globus-connect-server endpoint role delete command deletes a role associated with an endpoint . This is a premium feature---the endpoint must be managed by a subscription in order to create and use role-based authorization with a Globus Connect Server v5 endpoint.
The positional argument to this command is the role id. This value can be seen in the output of globus-connect-server endpoint role create when creating a role, or in the output from globus-connect-server endpoint role list.
Upon success, this will delete the role from both the Globus Connect Server endpoint and from the Globus Transfer endpoint associated with it.
Options
- -h, --help
-
Show help message and exit.
- --version
-
Show the version and exit.
- -F, --format "text"|"json"
-
Output format for this command. If the format is json, then the result document is displayed.
- --use-explicit-host IP_ADDRESS (new in 5.4.23)
-
IP address of the GCS node to use for this request. If not specified, any available GCS node in the endpoint will be used.
Example
This example lists and then deletes an administrator
role for user
other_admin@example.org
:
$ globus-connect-server endpoint role list Role ID | Role | Principal ------------------------------------ | ------------- | ------------------- 751a299b-5cdf-4f89-b210-6982351b7956 | owner | user@example.org 78ff6e70-5d69-11ea-bf47-0a57a7ec947d | administrator | user@example.org ee0569de-85bb-11ea-ab13-0aeadf0d30f1 | administrator | other_admin@example.org
$ globus-connect-server endpoint role delete ee0569de-85bb-11ea-ab13-0aeadf0d30f1 Message: Deleted role ee0569de-85bb-11ea-ab13-0aeadf0d30f1