Skillsets - Reset Skills
Reset an existing skillset in a search service.
POST {endpoint}/skillsets('{skillsetName}')/search.resetskills?api-version=2024-05-01-preview
URI Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
|
endpoint
|
path | True |
string |
The endpoint URL of the search service. |
|
skillset
|
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 |
Error response. |
Examples
SearchServiceResetSkills
Sample request
POST https://myservice.search.windows.net/skillsets('mySkillset')/search.resetskills?api-version=2024-05-01-preview
{
"skillNames": [
"skillName1",
"skillName2"
]
}
Sample response
Definitions
| Name | Description |
|---|---|
|
Error |
The resource management error additional info. |
|
Error |
The error detail. |
|
Error |
Error response |
ErrorAdditionalInfo
The resource management error additional info.
| Name | Type | Description |
|---|---|---|
| info |
object |
The additional info. |
| type |
string |
The additional info type. |
ErrorDetail
The error detail.
| Name | Type | Description |
|---|---|---|
| additionalInfo |
The error additional info. |
|
| code |
string |
The error code. |
| details |
The error details. |
|
| message |
string |
The error message. |
| target |
string |
The error target. |
ErrorResponse
Error response
| Name | Type | Description |
|---|---|---|
| error |
The error object. |