-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow setting membership type in influx org members add
#231
Comments
This would be really handy. Being able to add members to an org but having to use the api for owners is very annoying. |
Until this is implemented, you can get effectively the same thing by granting a user an all-access token on the org, since users inherit the permissions of all the tokens that the own:
|
Add an owner to an organization For everyone else's benefits: curl --request POST --url "localhost:8086/api/v2/orgs/{orgId}/owners" --header "Authorization: Token {allAccessToken}" --data '{"id": "{userId}", "name": "{userName}"}' The user you want to add to as own has to not be a member of the org already. This will be the case if you delete it from the organisation using the dashboard: |
What release is this in? |
@glacieruk it hasn't been released yet. Next release! |
influx org members add
is hard-coded to add new users to an org as a "member". We should add a way for users to be added as an "owner" (the API already supports this, so we need to add a toggle to the CLI).influx org members list
andinflux org members remove
may also need to be updated to account for owners as well as members.The text was updated successfully, but these errors were encountered: