Logo
Fastly Developer Hub API Documentation

Update multiple entries in an edge dictionary

PATCH {{fastly_url}}/service/{{service_id}}/dictionary/{{dictionary_id}}/items

Update multiple items in the same dictionary. For faster updates to your service, group your changes into large batches. The maximum batch size is 1000 items. Contact support to discuss raising this limit.

Authorization: API token with at least Engineer permissions.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Host
string
Content-Type
string
Accept
string




RESPONSES

status





Curl
curl -X PATCH 'https://api.fastly.com/service//dictionary//items' -H 'Host: api.fastly.com' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"items":[{"op":"create","item_key":"test-key","item_value":"new-value"},{"op":"update","item_key":"test-key-2","item_value":"new-value-2"},{"op":"upsert","item_key":"test-key-3","item_value":"new-value-3"},{"op":"delete","item_key":"test-key-4"}]}'

ENDPOINTS