Skip to main content
DELETE
/
records
/
{recordId}
/
tags
/
{text}
JavaScript
import Scorecard from 'scorecard-ai';

const client = new Scorecard({
  apiKey: process.env['SCORECARD_API_KEY'], // This is the default and can be omitted
});

const tag = await client.records.tags.delete('urgent', { recordId: '777' });

console.log(tag.deleted);
{
  "deleted": 1
}

Authorizations

Authorization
string
header
required

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

Path Parameters

recordId
string
required

The ID of the Record to remove the tag from.

Example:

"777"

text
string
required

The tag text to remove.

Example:

"urgent"

Response

The tag was removed (or was not present).

deleted
number
required

The number of tag rows removed (0 if the tag was not present).