Download OpenAPI specification:
[- {
- "acl": [
- "string"
], - "connected": [
- {
- "address": [
- "string"
], - "initiator": "iqn.2025-08.volimport:client1"
}
], - "protocol": "iscsi",
- "targetname": "iqn.2025-08.volexport:abcde",
- "tid": 0,
- "users": "admin",
- "volumes": "volume1"
}
]
Create a new export
required | Array of Acl (strings) or Acl (null) (Acl) Source IP Addresses to allow access |
name required | string (Name) Volume name to export |
Passwd (string) or Passwd (null) (Passwd) password for access. auto-generate if null | |
readonly | boolean (Readonly) Default: false read-only if true |
User (string) or User (null) (User) user name for access. auto-generate if null |
{- "acl": [
- "string"
], - "name": "volume1",
- "passwd": "pa$$word",
- "readonly": true,
- "user": "string"
}
{- "acl": [
- "string"
], - "addresses": [
- "string"
], - "lun": 1,
- "protocol": "iscsi",
- "targetname": "iqn.2025-08.volexport:abcde",
- "tid": 0,
- "user": "admin"
}
{- "acl": [
- "string"
], - "connected": [
- {
- "address": [
- "string"
], - "initiator": "iqn.2025-08.volimport:client1"
}
], - "protocol": "iscsi",
- "targetname": "iqn.2025-08.volexport:abcde",
- "tid": 0,
- "users": "admin",
- "volumes": "volume1"
}
Create a new volume
name required | string (Name) Name of the volume to create |
size required | integer (Size) > 0 Size of the volume in bytes |
{- "name": "volume1",
- "size": 1073741824
}
{- "name": "volume1",
- "size": 1073741824
}
Update a volume by name
name required | any (Name) |
Readonly (boolean) or Readonly (null) (Readonly) Set volume to read-only if true | |
Size (integer) or Size (null) (Size) New size of the volume in bytes |
{- "readonly": true,
- "size": 2147483648
}
{- "created": "2023-10-01T12:00:00",
- "name": "volume1",
- "parent": "string",
- "readonly": true,
- "size": 1073741824,
- "thin": true,
- "used": true
}
Format a volume, make filesystem
name required | any (Name) |
filesystem | string (Filesystem) Default: "ext4" Enum: "ext4" "xfs" "btrfs" "vfat" "ntfs" "exfat" "nilfs2" Make filesystem in the volume |
Label (string) or Label (null) (Label) Label of filesystem |
{- "filesystem": "ext4",
- "label": "string"
}
{- "created": "2023-10-01T12:00:00",
- "name": "volume1",
- "parent": "string",
- "readonly": true,
- "size": 1073741824,
- "thin": true,
- "used": true
}
Create snapshot
name required | any (Name) |
name required | string (Name) Name of snapshot volume |
Size (integer) or Size (null) (Size) Size of snapshot CoW (ignore if using thinpool) |
{- "name": "snap001",
- "size": 0
}
{- "created": "2023-10-01T12:00:00",
- "name": "volume1",
- "parent": "string",
- "readonly": true,
- "size": 1073741824,
- "thin": true,
- "used": true
}