Commit b62322b1 by Marcus Efraimsson Committed by GitHub

Merge pull request #12288 from mlclmj/master

docs: HTTP Endpoint for Deleting an Organization
parents 96287a90 2765afc8
...@@ -331,6 +331,27 @@ Content-Type: application/json ...@@ -331,6 +331,27 @@ Content-Type: application/json
{"message":"Organization updated"} {"message":"Organization updated"}
``` ```
## Delete Organisation
`DELETE /api/orgs/:orgId`
**Example Request**:
```http
DELETE /api/orgs/1 HTTP/1.1
Accept: application/json
Authorization: Bearer eyJrIjoiT0tTcG1pUlY2RnVKZTFVaDFsNFZXdE9ZWmNrMkZYbk
```
**Example Response**:
```http
HTTP/1.1 200
Content-Type: application/json
{"message":"Organization deleted"}
```
## Get Users in Organisation ## Get Users in Organisation
`GET /api/orgs/:orgId/users` `GET /api/orgs/:orgId/users`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment