Skip to main content
DELETE
/
v1
/
boards
/
{boardId}
/
assets
/
{id}
Delete an asset
curl --request DELETE \
  --url https://api.chatgrid.ai/v1/v1/boards/{boardId}/assets/{id} \
  --header 'Authorization: Bearer <token>'
{
  "object": "asset",
  "data": {
    "deleted": true
  }
}

Authorizations

Authorization
string
header
required

Pass your API key (prefixed cgk_) or a Supabase JWT in the Authorization: Bearer <token> header.

Path Parameters

boardId
string<uuid>
required

Board UUID.

Example:

"a1b2c3d4-e5f6-7890-abcd-ef1234567890"

id
string
required

Asset filename identifier.

Example:

"1711843260000-report.pdf"

Response

Asset deleted.

object
enum<string>
Available options:
asset
data
object