Skip to main content
Opik Documentation

Search documentation

Type to search this documentation.

Delete attachments

POST/v1/private/attachment/deleteDelete attachments

Delete attachments

Request body

application/json
objectCompleteMultipartUploadRequest
container_idstring · uuid
entity_idstring · uuidrequired
entity_typestringrequired

one of "trace", "span"

file_namestringrequired

minLength 1

file_sizeinteger · int64required
mime_typestring
project_namestring

If null, the default project is used

pattern (?s)^\s*(\S.*\S|\S)\s*$

upload_idstringrequired

minLength 1

uploaded_file_partsarray of objectrequired
Show child attributes
Show array items
e_tagstringrequired

minLength 1

part_numberinteger · int32required
Example request
{
  "entity_id": "00000000-0000-0000-0000-000000000000",
  "entity_type": "span",
  "file_name": "string",
  "file_size": 0,
  "mime_type": "string",
  "project_name": "string",
  "upload_id": "string",
  "uploaded_file_parts": [
    {
      "e_tag": "string",
      "part_number": 0
    }
  ]
}

Responses

204No content
401Bad Requestapplication/json
objectErrorMessage
codeinteger · int32
detailsstring
messagestring
Example response
{
  "code": 0,
  "details": "string",
  "message": "string"
}
403Access forbiddenapplication/json
objectErrorMessage
codeinteger · int32
detailsstring
messagestring
Example response
{
  "code": 0,
  "details": "string",
  "message": "string"
}
Documentation menu