Delete a serving name from a virtual server
Deletes a specific CIFS/SMB serving name associated with a virtual server.
If the name was part of an active directory, the name will also be removed from the domain. If it is not possible to contact the domain controllers, or if the name has already been removed from the domain, then use the force option, which will remove the name from the virtual server, irrespective of whether it can be removed from the domain.
HTTP request syntax (URI)
DELETE <base_URI>/v8/storage/serving-names/{servingNameObjectId}
Parameters
Name | Type | Required | Values | Description |
servingNameObjectId | URI_PARAM | Y | string | Object ID of the serving name |
force | BODY | N | boolean | Default False. |
Return codes
Code | Data | Description |
204 | No Data | Serving name successfully deleted. |
400 | Error Message | Missing or invalid request contents. |
403 | Error Message | Operation forbidden by access level. |
404 | Error Message | Requested resource not found. |
500 | Error message | Error associated with the storage system. |
Any HTTP status code other than 204 indicates that the API did not complete successfully.
Request example
curl -vk -H "X-Api-Key: zrxvSDAv9x.RIP4gkmKarG3beF.or.4Tc2im7oeqYN88C9XPGHxbXC" https://172.17.11.11:8444/v8/storage/serving-names/313a3a3a6d6572637572793131306e312d733a3a3a303a3a3a4f49445f24232140255f56 -X DELETE
Response example
HTTP/1.1 204 No Content