Permanently delete a completed or failed video and its stored assets. Args: extra_headers: Send extra headers extra_query: Add additional query parameters to the request extra_body: Add additional JSON properties to the request timeout: Ov
(
self,
video_id: str,
*,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = not_given,
)
| 877 | ) |
| 878 | |
| 879 | async def delete( |
| 880 | self, |
| 881 | video_id: str, |
| 882 | *, |
| 883 | class="cm"># Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
| 884 | class="cm"># The extra values given here take precedence over values defined on the client or passed to this method. |
| 885 | extra_headers: Headers | None = None, |
| 886 | extra_query: Query | None = None, |
| 887 | extra_body: Body | None = None, |
| 888 | timeout: float | httpx.Timeout | None | NotGiven = not_given, |
| 889 | ) -> VideoDeleteResponse: |
| 890 | class="st">""" |
| 891 | Permanently delete a completed or failed video and its stored assets. |
| 892 | |
| 893 | Args: |
| 894 | extra_headers: Send extra headers |
| 895 | |
| 896 | extra_query: Add additional query parameters to the request |
| 897 | |
| 898 | extra_body: Add additional JSON properties to the request |
| 899 | |
| 900 | timeout: Override the client-level default timeout for this request, in seconds |
| 901 | class="st">""" |
| 902 | if not video_id: |
| 903 | raise ValueError(fclass="st">"Expected a non-empty value for `video_id` but received {video_id!r}") |
| 904 | return await self._delete( |
| 905 | path_template(class="st">"/videos/{video_id}", video_id=video_id), |
| 906 | options=make_request_options( |
| 907 | extra_headers=extra_headers, |
| 908 | extra_query=extra_query, |
| 909 | extra_body=extra_body, |
| 910 | timeout=timeout, |
| 911 | security={class="st">"bearer_auth": True}, |
| 912 | ), |
| 913 | cast_to=VideoDeleteResponse, |
| 914 | ) |
| 915 | |
| 916 | async def create_character( |
| 917 | self, |
nothing calls this directly
no test coverage detected