POST /storage_boxes/{id}/subaccounts/{subaccount_id}/actions/update_access_settings
Updates the access settings of a Subaccount.
This endpoints supports partial updates. Omitted optional parameters do not result in any changes to the respective properties.
Servers
- https://api.hetzner.com/v1
Path parameters
Name | Type | Required | Description |
---|---|---|---|
id |
Integer | Yes |
ID of the Storage Box. |
subaccount_id |
Integer | Yes |
ID of the Storage Box Subaccount. |
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
readonly |
Boolean | No |
Whether the Subaccount should be read-only. |
samba_enabled |
Boolean | No |
Whether the Samba subsystem should be enabled. |
webdav_enabled |
Boolean | No |
Whether the WebDAV subsystem should be enabled. |
reachable_externally |
Boolean | No |
Whether the Subaccount should be accessible from outside the Hetzner network. |
ssh_enabled |
Boolean | No |
Whether the SSH subsystem should be enabled. |
home_directory |
String | No |
Home directory of the Subaccount. Will be created if it doesn't exist yet. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.