Skillsets - Reset Skills

Reset an existing skillset in a search service.

POST {endpoint}/skillsets('{skillsetName}')/search.resetskills?api-version=2023-10-01-Preview

URI Parameters

Name In Required Type Description
endpoint
path True

string

The endpoint URL of the search service.

skillsetName
path True

string

The name of the skillset to reset.

api-version
query True

string

Client Api Version.

Request Header

Name Required Type Description
x-ms-client-request-id

string

uuid

The tracking ID sent with the request to help with debugging.

Request Body

Name Type Description
skillNames

string[]

the names of skills to be reset.

Responses

Name Type Description
204 No Content

The skills in the skillset are successfully reset.

Other Status Codes

SearchError

Error response.

Examples

SearchServiceResetSkills

Sample request

POST https://myservice.search.windows.net/skillsets('mySkillset')/search.resetskills?api-version=2023-10-01-Preview

{
  "skillNames": [
    "skillName1",
    "skillName2"
  ]
}

Sample response

Definitions

SearchError

Describes an error condition for the API.

Name Type Description
code

string

One of a server-defined set of error codes.

details

SearchError[]

An array of details about specific errors that led to this reported error.

message

string

A human-readable representation of the error.