---
schema_version: "1"
id: 2be56c49e434f92117d01a5b87772ad6a1e6099f001234a8aee52d031f6af99e
title: deprecated
collection: tableau
version: next
locale: en-us
portal_url: https://docs.salesforce.com/tableau/next/en-us/api/metadata_api/reference/deprecated.doc.md
canonical_url: https://help.tableau.com/v0.0/api/metadata_api/en-us/reference/deprecated.doc.html
source_site: help.tableau.com
content_type: documentation
content_hash: b377f69c9997d07b778f0152767630eb1f60fb2a5d621f4d8908d32a2dfce6ac
---
_menu_ Types

# deprecated

Marks the field, argument, input field or enum value as deprecated

## [_link_](#graphql-schema-definition) GraphQL Schema definition

`   - directive @deprecated(reason: [String](https://help.tableau.com/v0.0/api/metadata_api/en-us/reference/string.doc.html)) on FIELD_DEFINITION | ARGUMENT_DEFINITION | ENUM_VALUE | INPUT_FIELD_DEFINITION   `

## [_link_](#require-by) Require by

This element is not required by anyone