Newer Version Available
Return Headers Using sObject CompactLayouts
Returns only the headers that are returned by a GET request to the sObject CompactLayouts resource. This gives you a chance to see header values ahead of time before retrieving the content of the resource. This resource is available in REST API version 29.0 and later.
Syntax
Example
- Returning headers of requests for compact layouts
-
1curl -X HEAD https://MyDomainName.my.salesforce.com/services/data/v56.0/sobjects/Account/describe/compactLayouts -H "Authorization: Bearer token"