Endpoints위젯

세션 권한 관리 URL 생성

iframe에 표시할 호스팅 권한 관리 위젯의 URL을 반환합니다. 보호자가 이전에 세션에 부여한 권한을 다시 확인하고 변경할 수 있습니다. `email`은 해당 세션을 승인한 보호자와 일치해야 합니다.

POST
/widget/generate-manage-session-permissions-url
AuthorizationBearer <token>

In: header

Request Body

application/json

권한 관리 URL 생성 요청

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/widget/generate-manage-session-permissions-url" \  -H "Content-Type: application/json" \  -d '{    "sessionId": "b1a6482d-5242-4b4a-aa88-3fa52595a672",    "email": "parent@example.com"  }'
{  "url": "https://family.k-id.com/widget",  "shortUrl": "https://family.k-id.com/s/12345678-1234-1234-1234-123456789012?pid=42&s=qr"}