Retrieves CIFS share access authentications.
HTTP request syntax (URI)
GET <base_URI>/v7/storage/filesystem-shares/cifs/{cifsObjectId}/authentications
Parameters
Name | Type | Required | Values | Description |
---|---|---|---|---|
cifsObjectId | URI_PARAM | Y | string | ID of the CIFS share. |
Return codes
Code | Data | Description |
---|---|---|
200 | cifsAuthentication | Array of CIFS authentication objects returned which are attached with CIFS share |
400 | No Data | Missing or invalid request contents. |
404 | Error Message | Requested resource not found. |
500 | Error message | Error associated with the storage system. |
501 | No Data | Server has not implemented the request operation on the resource. |
Any HTTP status code other than 200 indicates that the API did not complete successfully.
Request example
curl -vk -H "X-Api-Key: zrxvSDAv9x.RIP4gkmKarG3beF.or.4Tc2im7oeqYN88C9XPGHxbXC" https://172.17.57.75:8444/v7/storage/filesystem-shares/cifs/353a3a3a65646430653862322d353462612d313164312d393131622d346265653366616163613362/authentications
Response example
HTTP/1.1 200 OK { "cifsAuthentications" : [ { "encodedName" : "4255494c54494e5c477565737473", "name" : "BUILTIN\\Guests", "permission" : 56, "type" : "ALIAS" }, { "encodedName" : "4255494c54494e5c5573657273", "name" : "BUILTIN\\Users", "permission" : 56, "type" : "ALIAS" } ] }