POST /storage_boxes
Creates a new Storage Box. Returns an Action that covers progress of creation.
Servers
- https://api.hetzner.com/v1
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 |
---|---|---|---|
storage_box_type |
String | Yes |
The name or the ID of the Storage Box Type. |
name |
String | Yes |
Name of the Resource. Must be unique per Project. |
labels |
Object | No |
User-defined labels ( |
location |
String | Yes |
Unique identifier of the Location. |
ssh_keys[] |
Array | No |
Array of SSH public keys in OpenSSH format which should be injected into the Storage Box. |
password |
String | Yes |
The password that will be set for this Storage Box. |
access_settings |
Object | No | |
access_settings.samba_enabled |
Boolean | No |
Whether the Samba subsystem should be enabled. |
access_settings.webdav_enabled |
Boolean | No |
Whether the WebDAV subsystem should be enabled. |
access_settings.zfs_enabled |
Boolean | No |
Whether the ZFS Snapshot folder should be visible. |
access_settings.reachable_externally |
Boolean | No |
Whether the Storage Box should be accessible from outside the Hetzner network. |
access_settings.ssh_enabled |
Boolean | No |
Whether the SSH subsystem should be enabled. |
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.