Update an attachment
Updates the attachment identified by the specified token.
attachment_fields from the request body.Authorizations
API key used to authenticate and authorise every request.
Include it in the x-api-key header.
Headers
Defines the response type.
application/vnd.Creative Force.v2.3+json, application/vnd.Creative Force.v2.3+xml Defines the languages included in the response. If non are provided, the account default language is returned.
Value all overrides any other values present.
You can request multiple languages using a comma-separated string of languages.
The selected language must be supported by your account or a 400 error is returned.
all, ar_AR, bg_BG, bn_IN, ca_ES, cs_CZ, cy_GB, da_DK, de_DE, en_GB, en_US, el_GR, es_NN, es_LA, et_EE, fa_NN, fi_FI, fr_FR, fr_CA, he_IL, hi_IN, hr_HR, hu_HU, hy_AM, it_IT, ja_JP, ko_KR, lt_LT, ms_MY, nl_NL, nb_NO, pl_PL, pt_BR, ro_RO, ru_RU, sk_SK, sl_SI, sq_AL, sr_RS, sv_SE, sw_NN, th_TH, tr_TR, uk_UA, vi_VN, zh_CN, zh_HK Path Parameters
Token string.
^[A-Za-z0-9]{16}$|^[A-Za-z0-9]{32}$Body
Fields to update on an existing attachment.
Every property is optional; only properties that are supplied are written.
Values for the form fields captured against this attachment, keyed by field slug.
Each value must conform to the type of the corresponding field on the parent attachments tab; for example, a text field accepts a string, a choice field accepts the slug of one of its options, and a number field accepts a numeric value.
Field slugs that do not exist on the parent tab are rejected.
Position of the attachment within its tab. Lower values sort earlier.
Slug of the tab to move the attachment to.
Must reference a tab whose type is Attachments; tabs of other types are rejected.
^[A-Za-z]{8}$Response
Attachment updated.
File attached to an entry through an attachments-typed form tab.
Carries the file itself together with the form-field metadata captured against it, the entry it belongs to, and the tab through which it was added.
Entry the attachment belongs to.
Form fields captured against this attachment.
One item per field defined on the parent attachments tab, in form order. The exact set of keys varies by field type.
Time the attachment was created.
File backing the attachment.
Position of the attachment within its tab.
Attachments tab the attachment belongs to.
Token identifying the attachment file. Same value as file.token.
Time the attachment was last updated.