Update an attachment field
Updates an attachment field for the attachment identified by the specified token.
Headers
Defines the response type.
Request body
Response
Attachment field updated.
Example response
{
"entry": {
"slug": "AbCdEfGh",
"link": "https://api.au.cr4ce.com/entry/AbCdEfGh",
"title": "Project title"
},
"attachment_fields": [
{
"slug": "IjKlMnOp",
"link": "https://api.au.cr4ce.com/field/IjKlMnOp",
"label": {
"en_GB": "Type of attachment"
},
"title": {
"en_GB": "Type of attachment"
},
"value": "Photo",
"translated": {
"en_GB": "Photo"
}
},
{
"slug": "QrStUvWx",
"link": "https://api.au.cr4ce.com/field/QrStUvWx",
"label": {
"en_GB": "<p>URL</p>"
},
"title": {
"en_GB": "URL"
},
"value": "https://example.com/image.svg",
"translated": {
"en_GB": "https://example.com/image.svg"
}
}
],
"created": "2025-04-27T01:00:00Z",
"file": {
"token": "AbCdEfGhIjKlMnOp",
"link": "https://api.au.cr4ce.com/file/AbCdEfGhIjKlMnOp",
"download": "https://files.au.cr4ce.com/file/AbCdEfGhIjKlMnOp/example.pdf?Expires=1781485359&Signature=REDACTED&Key-Pair-Id=REDACTED",
"filename": "example.pdf"
},
"order": 1,
"tab": {
"slug": "YzAbCdEf",
"link": "https://api.au.cr4ce.com/tab/YzAbCdEf",
"name": {
"en_GB": "Attachments"
}
},
"token": "AbCdEfGhIjKlMnOp",
"updated": "2025-04-27T01:05:00Z"
}Changes
Changed in 2 of the 50 revisions of this API.10
- ○
api tag
Entries (realtime)addedapi-tag-added
- ○
api tag
Entry (realtime)removedapi-tag-removed
- ○
- ○
added the media type
application/xmlfor the response with the status200response-media-type-added
- ○
added the media type
application/xmlfor the response with the status400response-media-type-added
- ○
added the media type
application/xmlfor the response with the status401response-media-type-added
- ○
added the media type
application/xmlfor the response with the status403response-media-type-added
- ○
added the media type
application/xmlfor the response with the status404response-media-type-added
- ○
added the media type
application/xmlfor the response with the status422response-media-type-added
- ○
added the media type
application/xmlfor the response with the status429response-media-type-added
- ○
added the media type
application/xmlfor the response with the status503response-media-type-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○