> ## Documentation Index
> Fetch the complete documentation index at: https://veryfront.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# ReplaceUploadGrantsInput

> Input object in the GraphQL API.

| Field | Type | Required | Description |
| - | - | - | - |
| `projectReference` | [`String`](/docs/cloud/graphql/types/string) | No | Project UUID, slug or configured domain. Supply this or deprecated projectId, not both; omission does not select the context project. |
| `projectId` | [`ID`](/docs/cloud/graphql/types/id) | No | Deprecated: Use projectReference. |
| `path` | [`String!`](/docs/cloud/graphql/types/string) | Yes | Upload UUID for direct grants, or folder/file path resolved to the applicable folder visibility setting. |
| `grants` | [`[UploadPathGrantInput!]!`](/docs/cloud/graphql/types/uploadpathgrantinput) | Yes | Entire replacement grant list; \[] revokes all grants on the resolved target. |

[All GraphQL types](/docs/cloud/graphql/schema) · [Operations](/docs/cloud/graphql)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.