Skip to content
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

Add Octokit::Client#delete_organization to support org deletion #1558

Merged
merged 9 commits into from
Mar 31, 2023

Conversation

jdennes
Copy link
Contributor

@jdennes jdennes commented Mar 30, 2023

This PR adds Octokit::Client#delete_organization for the recently added API endpoint to delete an org:

https://docs.github.com/rest/orgs/orgs#delete-an-organization

Resolves #1557


Behavior

Before the change?

  • The Octokit client could not delete orgs.

After the change?

  • The Octokit client can delete orgs.

Other information

  • Changelog item: Add Octokit::Client#delete_organization for new API endpoint to delete organizations.

Additional info

Pull request checklist

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)
  • Added the appropriate label for the given change

Does this introduce a breaking change?

Please see our docs on breaking changes to help!

  • Yes (Please add the Type: Breaking change label)
  • No

If Yes, what's the impact:

  • N/A

Pull request type

Please add the corresponding label for change this PR introduces:

(I can't add labels)

  • Feature/model/API additions: Type: Feature

@kfcampbell kfcampbell added the Type: Feature New feature or request label Mar 31, 2023
Copy link
Member

@kfcampbell kfcampbell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for contributing!

@kfcampbell kfcampbell merged commit 9e15911 into octokit:main Mar 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature New feature or request
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

[FEAT]: Add support for deleting orgs
3 participants