file-storage

Modify share

Modifies existing service share by given {service_uuid} and {share_name}.

patch/1.3/file-storage/{service-uuid}/shares/{share-name}

Request

  • Base URL: https://api.upcloud.com
  • URL: https://api.upcloud.com/1.3/file-storage/{service-uuid}/shares/{share-name}
  • Auth: HTTP bearer

Path parameters

service-uuidstring uuid required

The unique identifier.

Example:17fd43a5-a97e-44f7-98a8-0a787da67069

Service UUID

share-namestring required

A resource name.

Example:test-name

The name of the share.

Request body

namestring

A resource name.

Example request

{
  "name": "test-name",
  "acl": [
    {
      "name": "test-name",
      "target": "192.168.25.0/24",
      "permission": "ro"
    }
  ]
}

Response

Success

namestring
pathstring

Example response

{
  "acl": [
    {
      "name": "test-name",
      "permission": "rw",
      "target": "*"
    }
  ],
  "name": "write",
  "path": "/project/data"
}

Changes

No recorded changes to this operation across all 1 revision of this API.