file-storage

Create ACL

Creates a new share ACL by given {service_uuid} and {share_name}.

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

Request

  • Base URL: https://api.upcloud.com
  • URL: https://api.upcloud.com/1.3/file-storage/{service-uuid}/shares/{share-name}/acl
  • 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 required

A resource name.

targetstring required

The target of the ACL entry. It can be an IP Address, Network Prefix or a wildcard.

permission'ro' | 'rw' required

The permission level for the ACL target.

Example request

{
  "name": "test-name",
  "target": "192.168.25.147",
  "permission": "rw"
}

Response

Success

namestring
targetstring
permissionstring

Example response

{
  "name": "test-name",
  "permission": "rw",
  "target": "*"
}

Changes

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