---
schema_version: "1"
id: dd76eff50cff4e45673221f9d3ae64b02bf2f0be83e8807108c54e9c7382b24b
title: Headers
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/api_meta/meta_headers.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_headers.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 78bfb79974720c3fb8d570f5e26e7f08b9bcd6901dd12b3b55b3317cf50c15f7
description: Use headers in Metadata API calls to set options for each call.
---
# Headers

Use headers in Metadata API calls to set options for each call.

- **[AllOrNoneHeader](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_allornoneheader.htm)**  
    Indicates whether to roll back all metadata changes when some of the records in a call result in failures.
- **[CallOptions](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_calloptions.htm)**  
    Specifies the API client identifier.
- **[DebuggingHeader](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_debuggingheader.htm)**  
    Specifies that the deployment result contains the debug log output, and specifies the level of detail included in the log. The debug log contains the output of Apex tests that are executed as part of a deployment.
- **[SessionHeader](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_sessionheader.htm)**  
    Specifies the session ID that the login call returns. This session ID is used to authenticate all subsequent Metadata API calls.