Create a role (requires admin or owner)
PRINCIPAL is expected to be an identity or group ID, a principal URN, or a username.
Example usage: globus-search index role create "$index_id" admin "firstname.lastname@example.org" globus-search index role create "$index_id" writer "$group_id" --type group
The type of the principal. If the principal is given as a URN, it will be checked against any provided 'type'. If a non-URN string is given, the type will be used to format the principal as a URN.
- -v, --verbose
Control level of output
- -h, --help
Show this message and exit.
Output format for stdout. Defaults to text
A JMESPath expression to apply to json output. Forces the format to be json processed by this expression
Map HTTP statuses to any of these exit codes: 0,1,50-99. e.g. "404=50,403=51"
0 on success.
1 if a network or server error occurred, unless --map-http-status has been used to change exit behavior on http error codes.
2 if the command was used improperly.
3 if the command was used on the wrong type of object, e.g. a collection command used on an endpoint.
4 if the command has authentication or authorization requirements which were not met, as in ConsentRequired errors or missing logins.