---
schema_version: "1"
id: 5c7cf8f566ffcad4a95d2e563b1bffd931ca6e3f0e852bb88e2d9841b943a373
title: deprecated
collection: tableau
version: current
locale: en-us
portal_url: https://docs.salesforce.com/tableau/current/en-us/api/metadata_api/reference/deprecated.doc.md
canonical_url: https://help.tableau.com/current/api/metadata_api/en-us/reference/deprecated.doc.html
source_site: help.tableau.com
content_type: documentation
content_hash: 3407c900cf60464e2cfff010f1f2fbdc52c70179c5279b0308605463c2bfd39e
---
_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/current/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