Actions14
- Collection Actions
- Global Actions
- Endpoint Actions
Global → Update
AI-generatedSummary
Update a global record in Payload CMS
Inputs
- global (required) — Choose the global to operate on
- data (required) — The data to send (JSON format)
- additionalOptions —
Output shape
a single updated global record
Response body contains the updated global data; errors are handled separately
Examples
Example 1: Update locale of a global
global = "siteSettings", data = {"locale":"en"}, additionalOptions = {}
Example 2: Update global with locale and extra fields
global = "content", data = {"title":"New Title","locale":"en-US"}, additionalOptions = {"locale":"en-US"}