Delete Text Note
DELETE Request to Remove a Text Resource
This endpoint is used to delete a specific text resource identified by its unique mediaId. By sending a DELETE request to this endpoint, the client can remove the text resource from the server.
Request Parameters
- mediaId (path parameter): A unique identifier for the text resource that you wish to delete. This is a required parameter and should be included in the URL.
Response Structure
Upon successful deletion of the text resource, the server will respond with a status code indicating the outcome of the request:
-
204 No Content: Indicates that the resource was successfully deleted and there is no additional content to return.
-
404 Not Found: Indicates that the specified mediaId does not correspond to any existing resource.
Example
To delete a text resource with a specific mediaId, the request would look like:
DELETE {{url}}/v1/text/12345
This request would attempt to delete the text resource with the ID 12345.
Make sure to handle the response appropriately to confirm the deletion or to manage any errors that may arise.
Request
- Base URL: https://api.speakai.co/v1
- URL: https://api.speakai.co/v1/text/{mediaId}
- Auth: API key in header x-speakai-key and API key in header x-access-token
Path parameters
Response
Success
Changes
No recorded changes to this operation across all 2 revisions of this API.