Desconectar um assistente (revoga a conexão MCP)
DELETE/api/oauth/connections/{id}
- Auth
- Token erforderlich
- X-CommunityId
X-CommunityIdSende die X-CommunityId der Community, in der die Operation stattfindet.
Die Beschreibungen der Endpoints stammen aus der API-Spezifikation und sind vorerst auf Portugiesisch. Die Oberfläche drumherum ist übersetzt.
A pessoa revoga a própria conexão; owner e admin do `X-CommunityId` revogam qualquer conexão daquela comunidade. Todos os tokens morrem na hora. Conexão de outra pessoa fora desse caso: 404.
Parameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
idPflicht | path | string (uuid) |
Header
| Name | Typ | Beschreibung |
|---|---|---|
X-CommunityIdoptional | string (uuid) | ID da comunidade em que a operação acontece. Obrigatório na maioria dos endpoints com escopo de comunidade. |
Antworten
| Status | Beschreibung |
|---|---|
200 | `data`: `{ id, revoked: true }`. |
401 | Token ausente, inválido ou expirado. |
404 | Recurso não encontrado. |
curl-Beispiel
curl -X DELETE "https://api.memberfy.net/api/oauth/connections/<id>" \
-H "Authorization: Bearer $TOKEN" \
-H "X-CommunityId: $COMMUNITY_ID"