---
title: "POST /v1beta/{tenantId}/file/acls"
method: POST
path: "/v1beta/{tenantId}/file/acls"
tags: ["File Share Acls"]
---

# POST /v1beta/{tenantId}/file/acls

`POST /v1beta/{tenantId}/file/acls`

Creates a file share acl.

## Request body

- FileShareAclCreateSpec
  - `fileshareId` string, required
  - `type` string, required
  - `accessCapability` string[], required
  - `accessTo` string, required
  - `description` string

## Response `202`

Accepted

- FileShareAclRespSpec — File Share Acl API describes the acl of file share resource
  - `id` string
  - `createdAt` string, date-time
  - `updatedAt` string, date-time
  - `fileshareId` string
  - `type` string
  - `accessCapability` string[]
  - `accessTo` string
  - `tenantId` string
  - `userId` string
  - `description` string
  - `status` string
  - `profileId` string
  - `metadata` object

## Other responses

- `400` — BadRequest
- `401` — NotAuthorized
- `403` — Forbidden
- `500` — An unexpected error occured.

---

[API](https://skmtc.net/sodafoundation/apis/soda-api.md) · [All operations](https://skmtc.net/sodafoundation/apis/soda-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sodafoundation/soda-api/revisions/62ce0f6c94b4/schema)
