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,
)
| 298 | ) |
| 299 | |
| 300 | def delete( |
| 301 | self, |
| 302 | video_id: str, |
| 303 | *, |
| 304 | class="cm"># Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
| 305 | class="cm"># The extra values given here take precedence over values defined on the client or passed to this method. |
| 306 | extra_headers: Headers | None = None, |
| 307 | extra_query: Query | None = None, |
| 308 | extra_body: Body | None = None, |
| 309 | timeout: float | httpx.Timeout | None | NotGiven = not_given, |
| 310 | ) -> VideoDeleteResponse: |
| 311 | class="st">""" |
| 312 | Permanently delete a completed or failed video and its stored assets. |
| 313 | |
| 314 | Args: |
| 315 | extra_headers: Send extra headers |
| 316 | |
| 317 | extra_query: Add additional query parameters to the request |
| 318 | |
| 319 | extra_body: Add additional JSON properties to the request |
| 320 | |
| 321 | timeout: Override the client-level default timeout for this request, in seconds |
| 322 | class="st">""" |
| 323 | if not video_id: |
| 324 | raise ValueError(fclass="st">"Expected a non-empty value for `video_id` but received {video_id!r}") |
| 325 | return self._delete( |
| 326 | path_template(class="st">"/videos/{video_id}", video_id=video_id), |
| 327 | options=make_request_options( |
| 328 | extra_headers=extra_headers, |
| 329 | extra_query=extra_query, |
| 330 | extra_body=extra_body, |
| 331 | timeout=timeout, |
| 332 | security={class="st">"bearer_auth": True}, |
| 333 | ), |
| 334 | cast_to=VideoDeleteResponse, |
| 335 | ) |
| 336 | |
| 337 | def create_character( |
| 338 | self, |
nothing calls this directly
no test coverage detected