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

Delete organization endpoint added #5601

Merged
merged 7 commits into from
Dec 27, 2018
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Typo fix
  • Loading branch information
shashvat-kedia committed Dec 27, 2018
commit 963d08f489598d14cdac43fc5ea96029eee5efc7
4 changes: 2 additions & 2 deletions routers/api/v1/org/org.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,10 +174,10 @@ func Delete(ctx *context.APIContext) {
// summary: Delete an organization
// produces:
// - application/json
//parameters:
// parameters:
// - name: org
// in: path
// description: organization to be deleted
// description: organization that is to be deleted
// type: string
// required: true
// responses:
Expand Down
11 changes: 10 additions & 1 deletion templates/swagger/v1_json.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,15 @@
],
"summary": "Delete an organization",
"operationId": "orgDelete",
"parameters": [
{
"type": "string",
"description": "organization that is to be deleted",
"name": "org",
"in": "path",
"required": true
}
],
"responses": {
"204": {
"$ref": "#/responses/empty"
Expand Down Expand Up @@ -8541,4 +8550,4 @@
"SudoHeader": []
}
]
}
}