Globus Connect Server Endpoint Set Owner
Description
The globus-connect-server endpoint set-owner command changes the owner of the endpoint to the given identity. The current owner is displayed in the output of endpoint role list command. This command may only be performed by the current endpoint owner.
The new owner can be specified by using either the identity ID
(ex. 96fd727e-4cb4-48de-a54e-ac110a7eea5a
) or username (ex. foo@example.com
)
of the new owner’s Globus Auth identity.
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 full response from the GCS Manager 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
In this example, the endpoint owner is set by username:
globus-connect-server endpoint set-owner foo@example.com {'DATA_TYPE': 'endpoint_owner#1.0.0', 'identity_id': '96fd727e-4cb4-48de-a54e-ac110a7eea5a'} Message: Updated endpoint owner to 96fd727e-4cb4-48de-a54e-ac110a7eea5a (foo@example.com)
In this example, the endpoint owner is set by the new owner’s identity ID:
globus-connect-server endpoint set-owner 96fd727e-4cb4-48de-a54e-ac110a7eea5a {'DATA_TYPE': 'endpoint_owner#1.0.0', 'identity_id': '96fd727e-4cb4-48de-a54e-ac110a7eea5a'} Message: Updated endpoint owner to 96fd727e-4cb4-48de-a54e-ac110a7eea5a (foo@example.com)