file-storage

Modify ACL

Modifies existing ACL by given {service_uuid}, {share_name} and {acl_name}.

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

Request

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

acl-namestring required

A resource name.

Example:test-name

The name of the ACL.

Request body

namestring

A resource name.

targetstring

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

permission'ro' | 'rw'

The permission level for the ACL target.

Example request

{
  "name": "test-name",
  "target": "192.168.25.0/24",
  "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.