# deleteUploadVisibility

```graphql
mutation DeleteUploadVisibility($input: UploadPathInput!) {
  deleteUploadVisibility(input: $input) {
    ok
  }
}
```

Remove the explicit visibility on an upload path or folder so it inherits from its parent folder or the project default again. Requires project.uploads.admin; API keys also need delete scope.

## Arguments

| Name                     | Type             | Required | Description                                                                                                |
| ------------------------ | ---------------- | -------- | ---------------------------------------------------------------------------------------------------------- |
| `input`                  | UploadPathInput! | Yes      |                                                                                                            |
| `input.projectReference` | String!          | Yes      | Project UUID, slug or configured domain.                                                                   |
| `input.uploadPath`       | String!          | Yes      | Project-relative upload path or folder prefix. An existing folder also matches without its trailing slash. |

## Variables

```json
{
  "input": {
    "projectReference": "string",
    "uploadPath": "string"
  }
}
```

## Responses

| Status | Description                                                |
| ------ | ---------------------------------------------------------- |
| 200    | The UploadAcknowledgement! in data.deleteUploadVisibility. |

## Call it

```bash
curl -X POST "https://api.veryfront.com/graphql" \
  -H "Authorization: Bearer $VERYFRONT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "query": "mutation DeleteUploadVisibility($input: UploadPathInput!) {\n  deleteUploadVisibility(input: $input) {\n    ok\n  }\n}",
  "variables": {
    "input": {
      "projectReference": "string",
      "uploadPath": "string"
    }
  }
}'
```

## Example response

```json
{
  "data": {
    "deleteUploadVisibility": {
      "ok": false
    }
  }
}
```
