auth0-cli icon indicating copy to clipboard operation
auth0-cli copied to clipboard

Manage organization invitations

Open jmisur opened this issue 3 years ago • 1 comments

Describe the problem you'd like to have solved

I would like to list organization invitations and ability to invite a user to an organization

Describe the ideal solution

I can execute something like this:

  • auth0 orgs invitations list
  • auth0 orgs invitations create --inviter <my-name> --invitee <email> --clientid <my-app-id> --connectionid <conn-id>

Alternatives and current work-arounds

There is no alternative except using auth0 management api directly afaik.

jmisur avatar Sep 21 '22 13:09 jmisur

Hey @jmisur 👋🏻 ,

We recently added a new command 🧰 auth0 api <method> <url-path> [flags] that is able to make authenticated requests against the management API (https://auth0.com/docs/api/management/v2).

:octocat: This command is available with https://github.com/auth0/auth0-cli/releases/tag/v0.13.0.

📖 Docs for this command: https://auth0.github.io/auth0-cli/auth0_api.html

Although it doesn't offer first class support for managing organization invitations, you could use it as an alternative until we have a more dedicated command for this.

Feedback is much appreciate for this new command 🙏🏻 Let us know if you encounter any issues with it.

We'll keep this issue open however until we are able to add a dedicated first class command to manage org invitations.

Thanks for your patience! ❤️

sergiught avatar Dec 01 '22 15:12 sergiught