[DELETE] Task Speaker
Task Speaker
Path Parameters
Name
Type
Description
Example Request
curl -X 'DELETE' \
'https://cloud.smartdocumentor.net/api/v1.0/external/transcripts/speakers/tasks/1234/5678/90edf137-ea2a-4b59-bf51-45446299d47e' \
--header 'Authorization: Bearer {your access token here}' \
--header 'accept: application/json' \
--header 'Content-Type: application/json'var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Delete, "https://cloud.smartdocumentor.net/api/v1.0/external/transcripts/speakers/tasks/1234/5678/90edf137-ea2a-4b59-bf51-45446299d47e");
request.Headers.Add("Authorization", "Bearer {your access token here}");
request.Headers.Add("Accept", "application/json");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());import requests
url = "https://cloud.smartdocumentor.net/api/v1.0/external/transcripts/speakers/tasks/1234/5678/90edf137-ea2a-4b59-bf51-45446299d47e"
headers = {
'Authorization': 'Bearer {your access token here}',
'Accept': 'application/json'
}
response = requests.request("DELETE", url, headers=headers)
print(response.text)Responses
{
"type": "https://tools.ietf.org/html/rfc7231#section-6.5.1",
"title": "SpeakerIdRequired",
"status": 400,
"detail": "All speakers must have a valid ID.",
"instance": null,
"extensions": {
"traceId": "00-de637cdee9a55d62de690f00efeb27ee-a498fdae355af2be-01"
}
}Response Body Problem Detail JSON Object
Response Body Problem Detail JSON Object
Last updated