Update file share
Rename file share or update tags
Deprecated: Use PATCH /v3/file_shares/// instead
Authorizations
API key for authentication. Make sure to include the word apikey, followed by a single space and then your token.
Example: apikey 1234$abcdef
Path Parameters
Project ID
1
Region ID
1
File Share ID
"bd8c47ee-e565-4e26-8840-b537e6827b08"
Body
Name
^[a-zA-Z0-9][a-zA-Z 0-9._\-]{1,61}[a-zA-Z0-9._]$"some_name"
Configuration settings for the share
Update key-value tags using JSON Merge Patch semantics (RFC 7386). Provide key-value pairs to add or update tags. Set tag values to null to remove tags. Unspecified tags remain unchanged. Read-only tags are always preserved and cannot be modified.
Examples:
- Add/update tags:
{'tags': {'environment': 'production', 'team': 'backend'}}adds new tags or updates existing ones. - Delete tags:
{'tags': {'old_tag': null}}removes specific tags. - Remove all tags:
{'tags': null}removes all user-managed tags (read-only tags are preserved). - Partial update:
{'tags': {'environment': 'staging'}}only updates specified tags. - Mixed operations:
{'tags': {'environment': 'production', 'cost_center': 'engineering', 'deprecated_tag': null}}adds/updates 'environment' and 'cost_center' while removing 'deprecated_tag', preserving other existing tags. - Replace all: first delete existing tags with null values, then add new ones in the same request.
Response
OK
Connection point. Can be null during File share creation
"10.254.0.43:/shares/share-7c14ca01-ea5e-4d85-a6e2-c104fe6b561a"
Datetime when the file share was created
"2023-04-25T11:06:49.226920"
Task that created this entity
"6ab1ead7-8640-4ae9-9e20-9e0bafcd2eca"
File share ID
"bd8c47ee-e565-4e26-8840-b537e6827b08"
File share name
"test-sfs"
Network ID.
"e72fd98e-32fa-474d-b0a3-bca11c3064ff"
Network name.
"File_share_test-sfs"
Project ID
1337
File share protocol
"NFS"
Region name
"Luxembourg 1"
Region ID
7
Share network name. May be null if the file share was created with volume type VAST
"File_share_test-sfs_network"
Share settings specific to the file share type
File share size in GiB
x >= 110
File share status
available, awaiting_transfer, backup_creating, backup_restoring, backup_restoring_error, creating, creating_from_snapshot, deleted, deleting, ensuring, error, error_deleting, extending, extending_error, inactive, manage_error, manage_starting, migrating, migrating_to, replication_change, reverting, reverting_error, shrinking, shrinking_error, shrinking_possible_data_loss_error, unmanage_error, unmanage_starting, unmanaged "available"
Subnet ID.
"ac601bb9-4d77-4356-96de-66ab29711815"
Subnet name.
"subnet_test-sfs"
List of key-value tags associated with the resource. A tag is a key-value pair that can be associated with a resource, enabling efficient filtering and grouping for better organization and management. Some tags are read-only and cannot be modified by the user. Tags are also integrated with cost reports, allowing cost data to be filtered based on tag keys or values.
The UUID of the active task that currently holds a lock on the resource. This lock prevents concurrent modifications to ensure consistency. If null, the resource is not locked.
"22b1eau7-8641-4ae9-9n20-9e0b5fcd2gca"
File share type name
standard, vast "standard"
Deprecated. Use type_name instead. File share disk type
default_share_type, vast_share_type "default_share_type"