Zum Inhalt springen

Revoga um painel de porta

DELETE/api/bookings/resources/{resourceId}/panels/{panelId}

Auth
Token erforderlich
X-CommunityId
X-CommunityId Sende 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.

Owner, admin e moderator. Efeito imediato: a próxima chamada do tablet com esse link devolve 401. Repetir é inofensivo (idempotente). Painel de outra sala ou comunidade: 404.

Parameter

NameOrtTypBeschreibung
resourceIdPflichtpathstring (uuid)
panelIdPflichtpathstring (uuid)

Header

NameTypBeschreibung
X-CommunityIdoptionalstring (uuid)ID da comunidade em que a operação acontece. Obrigatório na maioria dos endpoints com escopo de comunidade.

Antworten

StatusBeschreibung
200Painel revogado.
401Token ausente, inválido ou expirado.
403Autenticado, mas sem permissão para esta operação.
404Recurso não encontrado.
500Erro interno do servidor.

curl-Beispiel

curl -X DELETE "https://api.memberfy.net/api/bookings/resources/<resourceId>/panels/<panelId>" \
  -H "Authorization: Bearer $TOKEN" \
  -H "X-CommunityId: $COMMUNITY_ID"