DELETE Salt
This API allows delete the following four fields from the current configuration of salt minion: master, master_type, retry_dns, and retry_dns_count.
Note that this API is only aware of these specific fields and will not recognize any additional fields in the /etc/salt/minion.d/master.conf file. Starting from version 8.18, any configuration details added directly to this file will not be recognized by the API.
HTTP response code 200 indicates that salt was config was deleted successfully.
{
"master": [],
"masterType": "",
"retryDns": "",
"retryDnsCount": ""
}
Internal error while processing the client request
{
"errorMessage": "Failed to process request."
}
A message describing the error.
A code representing the type of error.
Dynamic error details, where the field name can vary depending on the request field and error code.
curl -X DELETE -H 'Authorization: <value>' https://{api_host}/api/v2/salt