Teams: Allow Services to register deletes (#76325)

* add team RegisterDelete

* fix-docs
This commit is contained in:
Jo
2023-10-11 15:57:03 +02:00
committed by GitHub
parent 72a1de855c
commit 79b2974215
5 changed files with 22 additions and 5 deletions
@@ -113,7 +113,7 @@ Status Codes:
## Remove External Group
`DELETE /api/teams/:teamId/groups/:groupId`
`DELETE /api/teams/:teamId/groups?groupId=external-group-id`
**Required permissions**
@@ -126,7 +126,7 @@ See note in the [introduction]({{< ref "#external-group-synchronization-api" >}}
**Example Request**:
```http
DELETE /api/teams/1/groups/cn=editors,ou=groups,dc=grafana,dc=org HTTP/1.1
DELETE /api/teams/1/groups?groupId=cn%3Deditors%2Cou%3Dgroups%2Cdc%3Dgrafana%2Cdc%3Dorg HTTP/1.1
Accept: application/json
Content-Type: application/json
Authorization: Basic YWRtaW46YWRtaW4=