AACsearch
Api reference

Delete a synonym

Deletes a single synonym group by its Typesense ID.

Deletes a single synonym group by its Typesense ID.

DELETE
/indexes/{indexId}/synonyms/{synonymId}

Authorization

BearerAuth
AuthorizationBearer <token>

Search API key (ss_search_*) from the dashboard or keys API. Scopes (search, ingest, admin) are stored on the key; each route requires the matching scope.

In: header

Path Parameters

indexId*string

Search index ID

synonymId*string

Synonym ID (e.g. syn_my_root)

Response Body

application/json

application/json

application/json

application/json

curl -X DELETE "https://loading/api/v1/indexes/string/synonyms/string"
{
  "id": "string",
  "deleted": true
}
{
  "error": "string",
  "message": "string",
  "details": null
}
{
  "error": "string",
  "message": "string",
  "details": null
}
{
  "error": "string",
  "message": "string",
  "details": null
}
Empty