21.17. deleteOrganization
删除指定的机构。
DELETE /api/v1/superuser/organizations/{name}
授权: oauth2_implicit (超级:user)
路径参数
类型 | Name | 描述 | 模式 |
---|---|---|---|
path |
name | 受管机构的的名称 | 字符串 |
响应
HTTP 代码 | 描述 | 模式 |
---|---|---|
204 | 已删除 | |
400 | 错误请求 | |
401 | 需要会话 | |
403 | 未授权访问 | |
404 | 未找到 |
示例命令
$ curl -X DELETE \ -H "Authorization: Bearer <bearer_token>" \ "https://<quay_server>/api/v1/superuser/organizations/<organization_name>"