curl -X POST \
-H "Content-Type: application/json" \
-H "Authorization: Bearer your_api_key" \
-d '{"query": "mutation($transcriptId: String!) { deleteTranscript(id: $transcriptId) { title date duration organizer_email } }", "variables": {"transcriptId": "your_transcript_id"}}' \
https://api.fireflies.ai/graphql
{
"data" : {
"deleteTranscript" : {
"duration" : "1" ,
"date" : 1699570138000 ,
"organizer_email" : "justin@fly.ai" ,
"title" : "Video title"
}
}
}
Overview
The deleteTranscript
mutation is designed to delete a specific transcript by its ID.
Arguments
Usage Example
To delete a transcript, provide the unique id of the transcript as an argument to the mutation. The returned subfields will be from the deleted transcript. Here’s an example of how this mutation could be used:
curl -X POST \
-H "Content-Type: application/json" \
-H "Authorization: Bearer your_api_key" \
-d '{"query": "mutation($transcriptId: String!) { deleteTranscript(id: $transcriptId) { title date duration organizer_email } }", "variables": {"transcriptId": "your_transcript_id"}}' \
https://api.fireflies.ai/graphql
{
"data" : {
"deleteTranscript" : {
"duration" : "1" ,
"date" : 1699570138000 ,
"organizer_email" : "justin@fly.ai" ,
"title" : "Video title"
}
}
}
Error Codes
List of possible error codes that may be returned by the deleteTranscript
mutation. Full list of error codes can be found here .
require_elevated_privilege
The user does not have admin privileges to delete the transcript.
Additional Resources