curl https://api.cloudflare.com/client/v4/$ACCOUNTS_OR_ZONES/$ACCOUNT_OR_ZONE_ID/access/apps/$APP_ID \
> -H "Authorization: Bearer $CLOUDFLARE_API_TOKEN"
{
"result": {
"id": "b0d9bad0-183f-458d-bb3e-1a25db400c4b",
"uid": "b0d9bad0-183f-458d-bb3e-1a25db400c4b",
"type": "self_hosted",
"name": "档案馆",
"aud": "e2b37825f536e84a54cace3f1fee1fc426c7a8be153767b99127e22dc98c48c4",
"created_at": "2025-12-20T02:21:01Z",
"updated_at": "2025-12-20T02:21:01Z",
"domain": "lib.khyan.top",
"self_hosted_domains": [
"lib.khyan.top"
],
"destinations": [
{
"type": "public",
"uri": "lib.khyan.top"
}
],
"app_launcher_visible": true,
"allowed_idps": [],
"tags": [],
"auto_redirect_to_identity": false,
"policies": [],
"session_duration": "24h",
"enable_binding_cookie": false,
"http_only_cookie_attribute": false,
"options_preflight_bypass": false
},
"success": true,
"errors": [],
"messages": []
}
curl https://api.cloudflare.com/client/v4/$ACCOUNTS_OR_ZONES/$ACCOUNT_OR_ZONE_ID/access/apps/$APP_ID \
> -H "Authorization: Bearer $CLOUDFLARE_API_TOKEN"
{
"result": {
"id": "b0d9bad0-183f-458d-bb3e-1a25db400c4b",
"uid": "b0d9bad0-183f-458d-bb3e-1a25db400c4b",
"type": "self_hosted",
"name": "档案馆",
"aud": "e2b37825f536e84a54cace3f1fee1fc426c7a8be153767b99127e22dc98c48c4",
"created_at": "2025-12-20T02:21:01Z",
"updated_at": "2025-12-20T02:21:01Z",
"domain": "lib.khyan.top",
"self_hosted_domains": [
"lib.khyan.top"
],
"destinations": [
{
"type": "public",
"uri": "lib.khyan.top"
}
],
"app_launcher_visible": true,
"allowed_idps": [],
"tags": [],
"auto_redirect_to_identity": false,
"policies": [],
"session_duration": "24h",
"enable_binding_cookie": false,
"http_only_cookie_attribute": false,
"options_preflight_bypass": false
},
"success": true,
"errors": [],
"messages": []
}