docs: team API. Closes #10832

This commit is contained in:
Daniel Lee
2018-02-15 23:05:16 +01:00
parent 4aff142fc5
commit 8377d3630c
2 changed files with 306 additions and 32 deletions
@@ -147,35 +147,3 @@ Status Codes:
- **401** - Unauthorized
- **403** - Access denied
- **404** - Dashboard not found
## Delete permission for a dashboard or folder
`DELETE /api/dashboards/id/:dashboardId/acl/:aclId`
The above will delete a permission from a dashboard or folder given the permission id.
**Example Request**:
```http
DELETE /api/dashboards/id/1/acl/540 HTTP/1.1
Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJrIjoiT0tTcG1pUlY2RnVKZTFVaDFsNFZXdE9ZWmNrMkZYbk
```
**Example Response**:
```http
HTTP/1.1 200
Content-Type: application/json
Content-Length: 0
```
Status Codes:
- **200** - Ok
- **401** - Unauthorized
- **403** - Access denied
- **404** - Dashboard permission not found