DELETE
TypeScript client

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

teamId
string
required

Team (workspace) id (UUID). Discover ids via the list teams endpoint or the agent context.

assetId
string
required

Media-library asset id (UUID), as returned by asset list, search, and upload endpoints.

Response

Success

id
string<uuid>
required

a Universally Unique Identifier

Pattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
teamId
string<uuid>
required

a Universally Unique Identifier

Pattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
originalFilename
string
required
fileSize
number
required
mimeType
string
required
assetType
enum<string>
required
Available options:
image,
video,
audio,
gif,
document
assetCategory
enum<string>
required
Available options:
user_upload,
render,
template,
green_screen_template,
sound_effect,
music,
brand_asset,
ai_image,
ai_video,
other
assetTypeData
object
required
storagePath
string
required
thumbnailPath
string | null
required
aiTitle
string | null
required
aiDescription
string | null
required
aiAltText
string | null
required
aiTags
string[]
required
contentHash
string | null
required
processingStatus
enum<string>
required
Available options:
pending,
processing,
completed,
failed
processingError
string | null
required
isDeleted
boolean
required
deletedAt
string | null
required
hardDeletedAt
string | null
required
sharedWithOrg
boolean
required
folderId
string<uuid> | null
required

a Universally Unique Identifier

Pattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
folderName
string | null
required
displayName
string
required
aspectRatio
string | null
required
isProcessing
boolean
required
createdAt
string
required
updatedAt
string
required