json_close
Creates, updates, deletes, gets or lists a json_close resource.
Overview
| Name | json_close |
| Type | Resource |
| Id | cloudflare.browser_rendering.json_close |
Fields
The following fields are returned by SELECT queries:
- get
Target is closing.
| Name | Datatype | Description |
|---|---|---|
message | string | Target is closing. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | session_id, account_id, target_id | Closes a specific browser target (tab, page, etc.) by its ID. Returns 'Target is closing' on success or an error if the target is not found. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
account_id | string | The Cloudflare account ID. |
session_id | string | The session ID. |
target_id | string | Target ID to close. |
SELECT examples
- get
Closes a specific browser target (tab, page, etc.) by its ID. Returns 'Target is closing' on success or an error if the target is not found.
SELECT
message
FROM cloudflare.browser_rendering.json_close
WHERE session_id = '{{ session_id }}' -- required
AND account_id = '{{ account_id }}' -- required
AND target_id = '{{ target_id }}' -- required
;