Skip to main content
DELETE
/
v3
/
container-tags
/
{containerTag}
Delete container tag
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.supermemory.ai/v3/container-tags/{containerTag}', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "success": true,
  "containerTag": "<string>",
  "deletedDocumentsCount": 123,
  "deletedMemoriesCount": 123
}

Authorizations

Authorization
string
header
required

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

Path Parameters

containerTag
string
required

Response

Container tag deleted successfully

Response after successfully deleting a container tag and all its associated data

success
boolean
required

Whether the deletion was successful

containerTag
string
required

The deleted container tag

deletedDocumentsCount
number
required

Number of documents deleted

deletedMemoriesCount
number
required

Number of memories marked as forgotten