Skip to content

delete_browser

Operation

delete_browser

delete_browser(request: DeleteBrowserInput | DeleteBrowserInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[DeleteBrowserInputDict]) -> DeleteBrowserOutput

Deletes a custom browser.

Parameters:

Name Type Description Default
request DeleteBrowserInput | DeleteBrowserInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None
**kwargs Unpack[DeleteBrowserInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
DeleteBrowserOutput

An instance of DeleteBrowserOutput.

delete_browser async

delete_browser(request: DeleteBrowserInput | DeleteBrowserInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[DeleteBrowserInputDict]) -> DeleteBrowserOutput

Deletes a custom browser.

Parameters:

Name Type Description Default
request DeleteBrowserInput | DeleteBrowserInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None
**kwargs Unpack[DeleteBrowserInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
DeleteBrowserOutput

An instance of DeleteBrowserOutput.

Input

Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.

DeleteBrowserInputDict

Bases: TypedDict

Dictionary form of DeleteBrowserInput.

Attributes

browser_id instance-attribute
browser_id: Required[str]

The unique identifier of the browser to delete.

client_token instance-attribute
client_token: str | None

A unique, case-sensitive identifier to ensure idempotency of the request.

This field is autopopulated if not provided.

DeleteBrowserInput dataclass

Bases: _SerdeShape

Dataclass for DeleteBrowserInput structure.

Attributes

browser_id class-attribute instance-attribute
browser_id: str | None = ...

The unique identifier of the browser to delete.

client_token class-attribute instance-attribute
client_token: str | None = ...

A unique, case-sensitive identifier to ensure idempotency of the request.

This field is autopopulated if not provided.

Output

DeleteBrowserOutput dataclass

Bases: _SerdeShape

Dataclass for DeleteBrowserOutput structure.

Attributes

browser_id instance-attribute
browser_id: str

The unique identifier of the deleted browser.

last_updated_at instance-attribute
last_updated_at: datetime

The timestamp when the browser was last updated.

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.

status instance-attribute
status: str

The current status of the browser deletion.