AACsearch
Api reference

Remove a sorting field

Disables sorting on the specified field.

Disables sorting on the specified field.

DELETE
/indexes/{indexId}/sorting/{fieldName}

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

fieldName*string

Field name to remove sorting from

Response Body

application/json

application/json

application/json

application/json

curl -X DELETE "https://loading/api/v1/indexes/string/sorting/string"
{
  "name": "string",
  "sort": false,
  "removed": true
}
{
  "error": "string",
  "message": "string",
  "details": null
}
{
  "error": "string",
  "message": "string",
  "details": null
}
{
  "error": "string",
  "message": "string",
  "details": null
}
Empty