chore(http): add org delete endpoint to swagger (#1844)

pull/10616/head
Jade McGough 2018-12-11 12:34:53 -08:00 committed by GitHub
parent 1bb276f6bc
commit d1ef428c9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 26 additions and 0 deletions

View File

@ -2790,6 +2790,32 @@ paths:
application/json:
schema:
$ref: "#/components/schemas/Error"
delete:
tags:
- Organizations
summary: Delete an organization
parameters:
- in: path
name: orgID
schema:
type: string
required: true
description: ID of organization to delete
responses:
'204':
description: delete has been accepted
'404':
description: organization not found
content:
application/json:
schema:
$ref: "#/components/schemas/Error"
default:
description: unexpected error
content:
application/json:
schema:
$ref: "#/components/schemas/Error"
'/orgs/{orgID}/labels':
get:
tags: