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

New command: Remove specified OAuth grant #165

Closed
waldekmastykarz opened this Issue Dec 23, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@waldekmastykarz
Copy link
Member

waldekmastykarz commented Dec 23, 2017

Remove specified OAuth grant

  • command: aad oauthgrant remove -i|--grantId <grantId>
  • grantId: ID of the grant to remove
  • requires connection to AAD Graph

The operation can be executed using the following REST call:

DELETE https://graph.windows.net/myorganization/oauth2PermissionGrants/<grantId>?api-version=1.6
authorization: Bearer eyJ0eXAiOiJKV1QiLCJ...

Requires #160 to be done first

@waldekmastykarz waldekmastykarz changed the title New command: Remove OAuth grant from the specified service principal New command: Remove specified OAuth grant Dec 24, 2017

@waldekmastykarz waldekmastykarz self-assigned this Dec 25, 2017

waldekmastykarz added a commit to waldekmastykarz/office365-cli that referenced this issue Dec 26, 2017

@waldekmastykarz waldekmastykarz added this to the v0.4.0 milestone Dec 26, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment