コンテンツにスキップ

Open a permission-change subscription WebSocket.

GET
/api/check/subscribe
Code sample: Shell / cURL
curl --request GET \
--url https://auth.example.com/api/check/subscribe \
--header 'Authorization: Bearer <token>'

Upgrades the request to a WebSocket used by clients to receive permission and policy change notifications. The caller must be authorized for the subscribe operation.

WebSocket upgrade response. Non-WebSocket requests are rejected.