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 organization renaming API #32995

Open
bsofiato opened this issue Dec 26, 2024 · 2 comments
Open

Add organization renaming API #32995

bsofiato opened this issue Dec 26, 2024 · 2 comments
Labels
proposal/accepted We have reviewed the proposal and agree that it should be implemented like that/at all. type/proposal The new feature has not been accepted yet but needs to be discussed first.

Comments

@bsofiato
Copy link
Contributor

Feature Description

How do you guys feel about adding an API that renames an organization ?.

We already have an API to rename users and I was think of adding one for organizations in the same vein (i.e., a post on /orgs/{org}/rename).

If you guys think this is a worth feature, I'd gladly submit a PR.

Screenshots

No response

@bsofiato bsofiato added the type/proposal The new feature has not been accepted yet but needs to be discussed first. label Dec 26, 2024
@lunny
Copy link
Member

lunny commented Dec 26, 2024

Please. I think Endpoint supports renaming organizations. Of course, a new clear endpoint is necessary, and maybe we need to have a more restricted check to determine whether it's a user or an organization.

@bsofiato
Copy link
Contributor Author

Hey @lunny

I've confirmed that the Hey /admin/users/{username}/rename endpoint checks whether the given user is indeed an user. If it is not, it will return an error :(

I'll write a PR that creates this new endpoint and summit it for you guys

@delvh delvh added the proposal/accepted We have reviewed the proposal and agree that it should be implemented like that/at all. label Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proposal/accepted We have reviewed the proposal and agree that it should be implemented like that/at all. type/proposal The new feature has not been accepted yet but needs to be discussed first.
Projects
None yet
Development

No branches or pull requests

3 participants