Skip to content

Delete a transcript

DELETE
/v1/Accounts/{auth_id}/Transcripts/{transcript_sid}
curl --request DELETE \
--url https://api.siprtc.io/v1/Accounts/AC000000000000000000/Transcripts/GT0123456789abcdef0123456789abcdef \
--header 'Authorization: Basic <credentials>'

Deletes a transcript’s content from storage; the resource stays as a tombstone (status deleted). Refused with 409 (code 64030) while an active legal hold covers it; the refusal is audited as transcript.delete_blocked, a deletion as transcript.deleted. Only the account owner (Basic auth with the account’s Auth ID and Auth Secret) or a platform admin may call it; other logins get 403.

auth_id
required
string

Account Auth ID (AC followed by the account id) the request acts on

Example

AC000000000000000000
transcript_sid
required
string

Transcript SID, GT followed by 32 hex digits; a .json suffix is ignored

Example

GT0123456789abcdef0123456789abcdef

Deleted

Authentication failed: missing or invalid credentials (JSON string from the API gateway)

Media type application/json
string

Example generated

example

Only the account owner or an admin may do this, or the login does not belong to this account (code 20403)

Media type application/json
object
code

Error code: 20001 invalid parameter, 20403 forbidden, 20404 not found, 20409 conflict, 20503 unavailable, 64030 under legal hold, 64031 active encryption key.

integer
message

Human readable explanation.

string
more_info

Link to more information; currently always empty.

string
status

HTTP status code of the response.

integer

Example

{
"code": 20404,
"message": "the requested resource was not found",
"more_info": "",
"status": 404
}

No such transcript in this account (code 20404)

Media type application/json
object
code

Error code: 20001 invalid parameter, 20403 forbidden, 20404 not found, 20409 conflict, 20503 unavailable, 64030 under legal hold, 64031 active encryption key.

integer
message

Human readable explanation.

string
more_info

Link to more information; currently always empty.

string
status

HTTP status code of the response.

integer

Example

{
"code": 20404,
"message": "the requested resource was not found",
"more_info": "",
"status": 404
}

A legal hold covers the transcript (code 64030)

Media type application/json
object
code

Error code: 20001 invalid parameter, 20403 forbidden, 20404 not found, 20409 conflict, 20503 unavailable, 64030 under legal hold, 64031 active encryption key.

integer
message

Human readable explanation.

string
more_info

Link to more information; currently always empty.

string
status

HTTP status code of the response.

integer

Example

{
"code": 20404,
"message": "the requested resource was not found",
"more_info": "",
"status": 404
}

Storage or account lookup unavailable (code 20503)

Media type application/json
object
code

Error code: 20001 invalid parameter, 20403 forbidden, 20404 not found, 20409 conflict, 20503 unavailable, 64030 under legal hold, 64031 active encryption key.

integer
message

Human readable explanation.

string
more_info

Link to more information; currently always empty.

string
status

HTTP status code of the response.

integer

Example

{
"code": 20404,
"message": "the requested resource was not found",
"more_info": "",
"status": 404
}