# Public Cloud › Storage › File Storage › ACL API

> Part of the OVHcloud developer hub. Index of every page and section: https://developers.eu.ovhcloud.com/llms.txt
> The Public Cloud product's sections: https://developers.eu.ovhcloud.com/reference/public-cloud/llms.txt
> Everything in one file: https://developers.eu.ovhcloud.com/llms-full.txt

> 4 operations of the OVHcloud API. Calls carry `authorization: Bearer $OVH_TOKEN`; the EU host is shown, Canada and the United States answer on api.ca.ovhcloud.com and api.us.ovhcloud.com.

Page: https://developers.eu.ovhcloud.com/reference/public-cloud/storage/file-storage/acl/

OpenAPI v1: https://api.eu.ovhcloud.com/1.0/__schemas/developer-hub-navigation/public-cloud/storage/file-storage/acl.json?format=openapi3
OpenAPI v2: https://api.eu.ovhcloud.com/v2/__schemas/developer-hub-navigation/public-cloud/storage/file-storage/acl.json?format=openapi3

## Operations

- `GET /publicCloud/project/{projectId}/storage/file/share/{fileStorageId}/acl` — List ACLs
- `GET /publicCloud/project/{projectId}/storage/file/share/{fileStorageId}/acl/{aclId}` — Get an ACL
- `POST /publicCloud/project/{projectId}/storage/file/share/{fileStorageId}/acl` — Create an ACL
- `DELETE /publicCloud/project/{projectId}/storage/file/share/{fileStorageId}/acl/{aclId}` — Delete an ACL

## List ACLs

`GET /v2/publicCloud/project/{projectId}/storage/file/share/{fileStorageId}/acl`

Link: https://developers.eu.ovhcloud.com/reference/public-cloud/storage/file-storage/acl/#getShareAcls

**Status:** Stable production version  
**IAM actions:** `publicCloudProject:apiovh:share/acl/get`

Returns the ACLs of the file storage.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `X-Pagination-Cursor` | header | string |  | Pagination cursor |
| `X-Pagination-Size` | header | integer |  | Pagination size |
| `fileStorageId` | path | string (uuid) | yes | File storage ID |
| `projectId` | path | string | yes | Project ID |

### Responses

| Status | Type | Description |
| --- | --- | --- |
| 200 | publicCloud.storage.file.ShareAcl[] | successful operation |

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `checksum` | string | read-only | Computed hash representing the current target specification value |
| `createdAt` | string (date-time) | read-only | Creation date of the access rule |
| `currentState` | publicCloud.storage.file.ShareAclState | read-only | Current observed state of the access rule from the infrastructure |
| `currentState.accessLevel` | publicCloud.storage.file.FileStorageAccessLevelEnum | read-only | Access level granted (read-write or read-only) — one of `READ_ONLY`, `READ_WRITE` |
| `currentState.accessTo` | string | read-only | IP address or CIDR allowed to access the file storage share |
| `currentState.createdAt` | string (date-time) | read-only | Creation date of the access rule |
| `currentState.state` | publicCloud.storage.file.FileStorageAccessRuleStateEnum | read-only | Current state of the access rule — one of `ACTIVE`, `APPLYING`, `DENYING`, `ERROR` |
| `currentTasks` | common.CurrentTask[] | read-only | Ongoing asynchronous tasks related to the access rule |
| `currentTasks[].errors` | common.TaskError[] | read-only | Errors that occurred on the task |
| `currentTasks[].errors[].message` | string | read-only | Error description |
| `currentTasks[].id` | string (uuid) | read-only | Identifier of the current task |
| `currentTasks[].link` | string | read-only | Link to the task details |
| `currentTasks[].status` | common.CurrentTaskStatusEnum | read-only | Current global status of the current task — one of `ERROR`, `PENDING`, `RUNNING`, `SCHEDULED`, `WAITING_USER_INPUT` |
| `currentTasks[].type` | string | read-only | Type of the current task |
| `id` | string (uuid) | read-only | Unique identifier of the access rule |
| `resourceStatus` | common.ResourceStatusEnum | read-only | Access rule readiness in the system — one of `CREATING`, `CREATION_PLANNED`, `DELETING`, `ERROR`, `OUT_OF_SYNC`, `READY`, `SUSPENDED`, `UNKNOWN`, `UPDATING` |
| `targetSpec` | publicCloud.storage.file.ShareAclTargetSpec | read-only | Last target specification of the access rule |
| `targetSpec.accessLevel` | publicCloud.storage.file.FileStorageAccessLevelEnum | yes | Access level granted (read-write or read-only) — one of `READ_ONLY`, `READ_WRITE` |
| `targetSpec.accessTo` | string | yes | IP address or CIDR allowed to access the file storage share |
| `updatedAt` | string (date-time) | read-only | Last update date of the access rule |

```json
[
  {
    "checksum": "string",
    "createdAt": "2024-01-01T12:00:00Z",
    "currentState": {
      "accessLevel": "READ_ONLY",
      "accessTo": "string",
      "createdAt": "2024-01-01T12:00:00Z",
      "state": "ACTIVE"
    },
    "currentTasks": [
      {
        "errors": [
          {
            "message": "string"
          }
        ],
        "id": "00000000-0000-0000-0000-000000000000",
        "link": "string",
        "status": "ERROR",
        "type": "string"
      }
    ],
    "id": "00000000-0000-0000-0000-000000000000",
    "resourceStatus": "CREATING",
    "targetSpec": {
      "accessLevel": "READ_ONLY",
      "accessTo": "string"
    },
    "updatedAt": "2024-01-01T12:00:00Z"
  }
]
```

### Example

```bash
curl -X GET \
  "https://api.eu.ovhcloud.com/v2/publicCloud/project/{projectId}/storage/file/share/{fileStorageId}/acl" \
  -H "accept: application/json" \
  -H "authorization: Bearer $OVH_TOKEN"
```

```python
'''
First, install the latest release of Python wrapper: $ pip install ovh
'''
import json
import ovh

# Instantiate an OVH Client.
# You can generate new credentials with full access to your account on
# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
client = ovh.Client(
	endpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
	application_key='xxxxxxxxxx',    # Application Key
	application_secret='xxxxxxxxxx', # Application Secret
	consumer_key='xxxxxxxxxx',       # Consumer Key
)

result = client.get("/v2/publicCloud/project/{projectId}/storage/file/share/{fileStorageId}/acl")

# Pretty print
print(json.dumps(result, indent=4))
```

```php
<?php
/**
 * First, download the latest release of PHP wrapper on github
 * And include this script into the folder with extracted files
 */
require __DIR__ . '/vendor/autoload.php';
use \Ovh\Api;

/**
 * Instantiate an OVH Client.
 * You can generate new credentials with full access to your account on
 * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
 */
$ovh = new Api('xxxxxxxxxx',  // Application Key
               'xxxxxxxxxx',  // Application Secret
               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
               'xxxxxxxxxx'); // Consumer Key

$result = $ovh->get("/v2/publicCloud/project/{projectId}/storage/file/share/{fileStorageId}/acl");

print_r($result);
?>
```

## Get an ACL

`GET /v2/publicCloud/project/{projectId}/storage/file/share/{fileStorageId}/acl/{aclId}`

Link: https://developers.eu.ovhcloud.com/reference/public-cloud/storage/file-storage/acl/#getShareAcl

**Status:** Stable production version  
**IAM actions:** `publicCloudProject:apiovh:share/acl/get`

Returns the ACL and its current state.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `aclId` | path | string (uuid) | yes | Acl ID |
| `fileStorageId` | path | string (uuid) | yes | File storage ID |
| `projectId` | path | string | yes | Project ID |

### Responses

| Status | Type | Description |
| --- | --- | --- |
| 200 | publicCloud.storage.file.ShareAcl | successful operation |
| 404 | object | Error 404 response |

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `checksum` | string | read-only | Computed hash representing the current target specification value |
| `createdAt` | string (date-time) | read-only | Creation date of the access rule |
| `currentState` | publicCloud.storage.file.ShareAclState | read-only | Current observed state of the access rule from the infrastructure |
| `currentState.accessLevel` | publicCloud.storage.file.FileStorageAccessLevelEnum | read-only | Access level granted (read-write or read-only) — one of `READ_ONLY`, `READ_WRITE` |
| `currentState.accessTo` | string | read-only | IP address or CIDR allowed to access the file storage share |
| `currentState.createdAt` | string (date-time) | read-only | Creation date of the access rule |
| `currentState.state` | publicCloud.storage.file.FileStorageAccessRuleStateEnum | read-only | Current state of the access rule — one of `ACTIVE`, `APPLYING`, `DENYING`, `ERROR` |
| `currentTasks` | common.CurrentTask[] | read-only | Ongoing asynchronous tasks related to the access rule |
| `currentTasks[].errors` | common.TaskError[] | read-only | Errors that occurred on the task |
| `currentTasks[].errors[].message` | string | read-only | Error description |
| `currentTasks[].id` | string (uuid) | read-only | Identifier of the current task |
| `currentTasks[].link` | string | read-only | Link to the task details |
| `currentTasks[].status` | common.CurrentTaskStatusEnum | read-only | Current global status of the current task — one of `ERROR`, `PENDING`, `RUNNING`, `SCHEDULED`, `WAITING_USER_INPUT` |
| `currentTasks[].type` | string | read-only | Type of the current task |
| `id` | string (uuid) | read-only | Unique identifier of the access rule |
| `resourceStatus` | common.ResourceStatusEnum | read-only | Access rule readiness in the system — one of `CREATING`, `CREATION_PLANNED`, `DELETING`, `ERROR`, `OUT_OF_SYNC`, `READY`, `SUSPENDED`, `UNKNOWN`, `UPDATING` |
| `targetSpec` | publicCloud.storage.file.ShareAclTargetSpec | read-only | Last target specification of the access rule |
| `targetSpec.accessLevel` | publicCloud.storage.file.FileStorageAccessLevelEnum | yes | Access level granted (read-write or read-only) — one of `READ_ONLY`, `READ_WRITE` |
| `targetSpec.accessTo` | string | yes | IP address or CIDR allowed to access the file storage share |
| `updatedAt` | string (date-time) | read-only | Last update date of the access rule |

```json
{
  "checksum": "string",
  "createdAt": "2024-01-01T12:00:00Z",
  "currentState": {
    "accessLevel": "READ_ONLY",
    "accessTo": "string",
    "createdAt": "2024-01-01T12:00:00Z",
    "state": "ACTIVE"
  },
  "currentTasks": [
    {
      "errors": [
        {
          "message": "string"
        }
      ],
      "id": "00000000-0000-0000-0000-000000000000",
      "link": "string",
      "status": "ERROR",
      "type": "string"
    }
  ],
  "id": "00000000-0000-0000-0000-000000000000",
  "resourceStatus": "CREATING",
  "targetSpec": {
    "accessLevel": "READ_ONLY",
    "accessTo": "string"
  },
  "updatedAt": "2024-01-01T12:00:00Z"
}
```

### Example

```bash
curl -X GET \
  "https://api.eu.ovhcloud.com/v2/publicCloud/project/{projectId}/storage/file/share/{fileStorageId}/acl/{aclId}" \
  -H "accept: application/json" \
  -H "authorization: Bearer $OVH_TOKEN"
```

```python
'''
First, install the latest release of Python wrapper: $ pip install ovh
'''
import json
import ovh

# Instantiate an OVH Client.
# You can generate new credentials with full access to your account on
# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
client = ovh.Client(
	endpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
	application_key='xxxxxxxxxx',    # Application Key
	application_secret='xxxxxxxxxx', # Application Secret
	consumer_key='xxxxxxxxxx',       # Consumer Key
)

result = client.get("/v2/publicCloud/project/{projectId}/storage/file/share/{fileStorageId}/acl/{aclId}")

# Pretty print
print(json.dumps(result, indent=4))
```

```php
<?php
/**
 * First, download the latest release of PHP wrapper on github
 * And include this script into the folder with extracted files
 */
require __DIR__ . '/vendor/autoload.php';
use \Ovh\Api;

/**
 * Instantiate an OVH Client.
 * You can generate new credentials with full access to your account on
 * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
 */
$ovh = new Api('xxxxxxxxxx',  // Application Key
               'xxxxxxxxxx',  // Application Secret
               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
               'xxxxxxxxxx'); // Consumer Key

$result = $ovh->get("/v2/publicCloud/project/{projectId}/storage/file/share/{fileStorageId}/acl/{aclId}");

print_r($result);
?>
```

## Create an ACL

`POST /v2/publicCloud/project/{projectId}/storage/file/share/{fileStorageId}/acl`

Link: https://developers.eu.ovhcloud.com/reference/public-cloud/storage/file-storage/acl/#createShareAcl

**Status:** Stable production version  
**IAM actions:** `publicCloudProject:apiovh:share/acl/create`

Grants read-write or read-only access to the file storage to an IP address or CIDR block.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `fileStorageId` | path | string (uuid) | yes | File storage ID |
| `projectId` | path | string | yes | Project ID |

### Request body (required)

Type: `publicCloud.storage.file.ShareAclCreation`

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `targetSpec` | publicCloud.storage.file.ShareAclTargetSpec | yes | Desired target specification for the access rule |
| `targetSpec.accessLevel` | publicCloud.storage.file.FileStorageAccessLevelEnum | yes | Access level granted (read-write or read-only) — one of `READ_ONLY`, `READ_WRITE` |
| `targetSpec.accessTo` | string | yes | IP address or CIDR allowed to access the file storage share |

```json
{
  "targetSpec": {
    "accessLevel": "READ_ONLY",
    "accessTo": "string"
  }
}
```

### Responses

| Status | Type | Description |
| --- | --- | --- |
| 200 | publicCloud.storage.file.ShareAcl | successful operation |
| 400 | object | Error 400 response |
| 404 | object | Error 404 response |

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `checksum` | string | read-only | Computed hash representing the current target specification value |
| `createdAt` | string (date-time) | read-only | Creation date of the access rule |
| `currentState` | publicCloud.storage.file.ShareAclState | read-only | Current observed state of the access rule from the infrastructure |
| `currentState.accessLevel` | publicCloud.storage.file.FileStorageAccessLevelEnum | read-only | Access level granted (read-write or read-only) — one of `READ_ONLY`, `READ_WRITE` |
| `currentState.accessTo` | string | read-only | IP address or CIDR allowed to access the file storage share |
| `currentState.createdAt` | string (date-time) | read-only | Creation date of the access rule |
| `currentState.state` | publicCloud.storage.file.FileStorageAccessRuleStateEnum | read-only | Current state of the access rule — one of `ACTIVE`, `APPLYING`, `DENYING`, `ERROR` |
| `currentTasks` | common.CurrentTask[] | read-only | Ongoing asynchronous tasks related to the access rule |
| `currentTasks[].errors` | common.TaskError[] | read-only | Errors that occurred on the task |
| `currentTasks[].errors[].message` | string | read-only | Error description |
| `currentTasks[].id` | string (uuid) | read-only | Identifier of the current task |
| `currentTasks[].link` | string | read-only | Link to the task details |
| `currentTasks[].status` | common.CurrentTaskStatusEnum | read-only | Current global status of the current task — one of `ERROR`, `PENDING`, `RUNNING`, `SCHEDULED`, `WAITING_USER_INPUT` |
| `currentTasks[].type` | string | read-only | Type of the current task |
| `id` | string (uuid) | read-only | Unique identifier of the access rule |
| `resourceStatus` | common.ResourceStatusEnum | read-only | Access rule readiness in the system — one of `CREATING`, `CREATION_PLANNED`, `DELETING`, `ERROR`, `OUT_OF_SYNC`, `READY`, `SUSPENDED`, `UNKNOWN`, `UPDATING` |
| `targetSpec` | publicCloud.storage.file.ShareAclTargetSpec | read-only | Last target specification of the access rule |
| `targetSpec.accessLevel` | publicCloud.storage.file.FileStorageAccessLevelEnum | yes | Access level granted (read-write or read-only) — one of `READ_ONLY`, `READ_WRITE` |
| `targetSpec.accessTo` | string | yes | IP address or CIDR allowed to access the file storage share |
| `updatedAt` | string (date-time) | read-only | Last update date of the access rule |

```json
{
  "checksum": "string",
  "createdAt": "2024-01-01T12:00:00Z",
  "currentState": {
    "accessLevel": "READ_ONLY",
    "accessTo": "string",
    "createdAt": "2024-01-01T12:00:00Z",
    "state": "ACTIVE"
  },
  "currentTasks": [
    {
      "errors": [
        {
          "message": "string"
        }
      ],
      "id": "00000000-0000-0000-0000-000000000000",
      "link": "string",
      "status": "ERROR",
      "type": "string"
    }
  ],
  "id": "00000000-0000-0000-0000-000000000000",
  "resourceStatus": "CREATING",
  "targetSpec": {
    "accessLevel": "READ_ONLY",
    "accessTo": "string"
  },
  "updatedAt": "2024-01-01T12:00:00Z"
}
```

### Example

```bash
curl -X POST \
  "https://api.eu.ovhcloud.com/v2/publicCloud/project/{projectId}/storage/file/share/{fileStorageId}/acl" \
  -H "accept: application/json" \
  -H "authorization: Bearer $OVH_TOKEN" \
  -H "content-type: application/json" \
  -d '{ }'
```

```python
'''
First, install the latest release of Python wrapper: $ pip install ovh
'''
import json
import ovh

# Instantiate an OVH Client.
# You can generate new credentials with full access to your account on
# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
client = ovh.Client(
	endpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
	application_key='xxxxxxxxxx',    # Application Key
	application_secret='xxxxxxxxxx', # Application Secret
	consumer_key='xxxxxxxxxx',       # Consumer Key
)

# Request body type: publicCloud.storage.file.ShareAclCreation
result = client.post("/v2/publicCloud/project/{projectId}/storage/file/share/{fileStorageId}/acl",
	targetSpec = None, # Desired target specification for the access rule (type: publicCloud.storage.file.ShareAclTargetSpec)
)

# Pretty print
print(json.dumps(result, indent=4))
```

```php
<?php
/**
 * First, download the latest release of PHP wrapper on github
 * And include this script into the folder with extracted files
 */
require __DIR__ . '/vendor/autoload.php';
use \Ovh\Api;

/**
 * Instantiate an OVH Client.
 * You can generate new credentials with full access to your account on
 * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
 */
$ovh = new Api('xxxxxxxxxx',  // Application Key
               'xxxxxxxxxx',  // Application Secret
               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
               'xxxxxxxxxx'); // Consumer Key

// Request body type: publicCloud.storage.file.ShareAclCreation
$result = $ovh->post("/v2/publicCloud/project/{projectId}/storage/file/share/{fileStorageId}/acl", array(
	targetSpec => null, // Desired target specification for the access rule (type: publicCloud.storage.file.ShareAclTargetSpec)
));

print_r($result);
?>
```

## Delete an ACL

`DELETE /v2/publicCloud/project/{projectId}/storage/file/share/{fileStorageId}/acl/{aclId}`

Link: https://developers.eu.ovhcloud.com/reference/public-cloud/storage/file-storage/acl/#deleteShareAcl

**Status:** Stable production version  
**IAM actions:** `publicCloudProject:apiovh:share/acl/delete`

Deletes the ACL and revokes the access it granted.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `aclId` | path | string (uuid) | yes | Acl ID |
| `fileStorageId` | path | string (uuid) | yes | File storage ID |
| `projectId` | path | string | yes | Project ID |

### Responses

| Status | Type | Description |
| --- | --- | --- |
| 200 | publicCloud.storage.file.ShareAcl | successful operation |
| 404 | object | Error 404 response |
| 409 | object | Error 409 response |

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `checksum` | string | read-only | Computed hash representing the current target specification value |
| `createdAt` | string (date-time) | read-only | Creation date of the access rule |
| `currentState` | publicCloud.storage.file.ShareAclState | read-only | Current observed state of the access rule from the infrastructure |
| `currentState.accessLevel` | publicCloud.storage.file.FileStorageAccessLevelEnum | read-only | Access level granted (read-write or read-only) — one of `READ_ONLY`, `READ_WRITE` |
| `currentState.accessTo` | string | read-only | IP address or CIDR allowed to access the file storage share |
| `currentState.createdAt` | string (date-time) | read-only | Creation date of the access rule |
| `currentState.state` | publicCloud.storage.file.FileStorageAccessRuleStateEnum | read-only | Current state of the access rule — one of `ACTIVE`, `APPLYING`, `DENYING`, `ERROR` |
| `currentTasks` | common.CurrentTask[] | read-only | Ongoing asynchronous tasks related to the access rule |
| `currentTasks[].errors` | common.TaskError[] | read-only | Errors that occurred on the task |
| `currentTasks[].errors[].message` | string | read-only | Error description |
| `currentTasks[].id` | string (uuid) | read-only | Identifier of the current task |
| `currentTasks[].link` | string | read-only | Link to the task details |
| `currentTasks[].status` | common.CurrentTaskStatusEnum | read-only | Current global status of the current task — one of `ERROR`, `PENDING`, `RUNNING`, `SCHEDULED`, `WAITING_USER_INPUT` |
| `currentTasks[].type` | string | read-only | Type of the current task |
| `id` | string (uuid) | read-only | Unique identifier of the access rule |
| `resourceStatus` | common.ResourceStatusEnum | read-only | Access rule readiness in the system — one of `CREATING`, `CREATION_PLANNED`, `DELETING`, `ERROR`, `OUT_OF_SYNC`, `READY`, `SUSPENDED`, `UNKNOWN`, `UPDATING` |
| `targetSpec` | publicCloud.storage.file.ShareAclTargetSpec | read-only | Last target specification of the access rule |
| `targetSpec.accessLevel` | publicCloud.storage.file.FileStorageAccessLevelEnum | yes | Access level granted (read-write or read-only) — one of `READ_ONLY`, `READ_WRITE` |
| `targetSpec.accessTo` | string | yes | IP address or CIDR allowed to access the file storage share |
| `updatedAt` | string (date-time) | read-only | Last update date of the access rule |

```json
{
  "checksum": "string",
  "createdAt": "2024-01-01T12:00:00Z",
  "currentState": {
    "accessLevel": "READ_ONLY",
    "accessTo": "string",
    "createdAt": "2024-01-01T12:00:00Z",
    "state": "ACTIVE"
  },
  "currentTasks": [
    {
      "errors": [
        {
          "message": "string"
        }
      ],
      "id": "00000000-0000-0000-0000-000000000000",
      "link": "string",
      "status": "ERROR",
      "type": "string"
    }
  ],
  "id": "00000000-0000-0000-0000-000000000000",
  "resourceStatus": "CREATING",
  "targetSpec": {
    "accessLevel": "READ_ONLY",
    "accessTo": "string"
  },
  "updatedAt": "2024-01-01T12:00:00Z"
}
```

### Example

```bash
curl -X DELETE \
  "https://api.eu.ovhcloud.com/v2/publicCloud/project/{projectId}/storage/file/share/{fileStorageId}/acl/{aclId}" \
  -H "accept: application/json" \
  -H "authorization: Bearer $OVH_TOKEN"
```

```python
'''
First, install the latest release of Python wrapper: $ pip install ovh
'''
import json
import ovh

# Instantiate an OVH Client.
# You can generate new credentials with full access to your account on
# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
client = ovh.Client(
	endpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
	application_key='xxxxxxxxxx',    # Application Key
	application_secret='xxxxxxxxxx', # Application Secret
	consumer_key='xxxxxxxxxx',       # Consumer Key
)

result = client.delete("/v2/publicCloud/project/{projectId}/storage/file/share/{fileStorageId}/acl/{aclId}")

# Pretty print
print(json.dumps(result, indent=4))
```

```php
<?php
/**
 * First, download the latest release of PHP wrapper on github
 * And include this script into the folder with extracted files
 */
require __DIR__ . '/vendor/autoload.php';
use \Ovh\Api;

/**
 * Instantiate an OVH Client.
 * You can generate new credentials with full access to your account on
 * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
 */
$ovh = new Api('xxxxxxxxxx',  // Application Key
               'xxxxxxxxxx',  // Application Secret
               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
               'xxxxxxxxxx'); // Consumer Key

$result = $ovh->delete("/v2/publicCloud/project/{projectId}/storage/file/share/{fileStorageId}/acl/{aclId}");

print_r($result);
?>
```
