- Notifications
You must be signed in to change notification settings - Fork928
feat(coderd): add endpoints for editing and deleting organizations#13287
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Co-authored-by: Steven Masley <Emyrk@users.noreply.github.com>
aslilac commentedMay 17, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
So, it turns out there isn't actually a unique constraint on organization names. I'm adding that in#13311, and will rebase this once that gets merged. Update: done |
3f1e9c0
intomainUh oh!
There was an error while loading.Please reload this page.
closes#12310 |
Uh oh!
There was an error while loading.Please reload this page.
Add backend and codersdk support for editing and deleting organizations
PATCH /api/v2/organizations/:orgId
for updating an existing orgDELETE /api/v2/organizations/:orgId
for deleting an orgcodersdk.Client.UpdateOrganization
to match the newPATCH
endpointcodersdk.Client.DeleteOrganization
to match the newDELETE
endpointcodersdk.Client.CreateOrganization
, because it was missing