--- title: MetafieldAccessGrantOperationInput - GraphQL Admin description: >- The input fields for possible operations for modifying access grants. Exactly one option is required. Explicit grants are [deprecated](https://shopify.dev/changelog/deprecating-explicit-access-grants-for-app-owned-metafields). api_version: 2024-10 api_name: admin type: input_object api_type: graphql source_url: html: >- https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/MetafieldAccessGrantOperationInput md: >- https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/MetafieldAccessGrantOperationInput.txt --- # Metafield​Access​Grant​Operation​Input input\_object The input fields for possible operations for modifying access grants. Exactly one option is required. Explicit grants are [deprecated](https://shopify.dev/changelog/deprecating-explicit-access-grants-for-app-owned-metafields). ## Fields * create [Metafield​Access​Grant​Input](https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/MetafieldAccessGrantInput) The input fields for an explicit access grant to be created or updated for the metafields under this definition. Explicit grants are [deprecated](https://shopify.dev/changelog/deprecating-explicit-access-grants-for-app-owned-metafields). * delete [Metafield​Access​Grant​Delete​Input](https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/MetafieldAccessGrantDeleteInput) The input fields for an explicit access grant to be deleted for the metafields under this definition. * update [Metafield​Access​Grant​Input](https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/MetafieldAccessGrantInput) The input fields for an explicit access grant to be created or updated for the metafields under this definition. Explicit grants are [deprecated](https://shopify.dev/changelog/deprecating-explicit-access-grants-for-app-owned-metafields). *** ## Input objects using this input * [Metafield​Access​Update​Input.​grants](https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/MetafieldAccessUpdateInput#field-grants) INPUT OBJECT The input fields for the access settings for the metafields under the definition. *** ## Map ### Input objects using this input * [Metafield​Access​Update​Input.grants](https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/MetafieldAccessUpdateInput#field-grants)