Add a rule to a specific share
POST/portal/api/v1/shares/rule/:share_id
Adds a rule to a share identified by share_id
. The rule includes details such as access level, type, and source IPs.
Request
Responses
- 201
- 400
- 401
- 403
- 404
- 500
Rule added successfully to the share
Bad request due to missing or invalid parameters.
Unauthorized
Not authorized to access the share resource.
Shares not found
Internal server error.