Update publication field <Badge intent="info" minimal outlined>OAuth Scope: publication_fields:write</Badge>
This feature is currently in beta and the API is subject to change.
Update a publication field, or archive it by setting status to archived. Archiving hides the field from the workspace library, and content that already references it keeps resolving.
name, kind and value_source cannot be changed once the field exists, because content may already reference it. Removing a key from response_keys stops every {{pub.<name>.<key>}} tag that used it from resolving.
Requires an API key with access to every publication in the workspace.
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
Request
The keys declared within the fetched JSON response body. Replaces the existing list. Only supported for json fields. A number or date key also claims its format variants, so a key temp_round2 is rejected with RESPONSE_KEYS_CLASHES beside a number key named temp.
Set to archived to archive the field, or active to restore it. Left unchanged when omitted.