Logo
Fastly Developer Hub API Documentation

Create an entry in an edge dictionary

POST {{fastly_url}}/service/{{service_id}}/dictionary/{{dictionary_id}}/item

Create DictionaryItem given service, dictionary ID, item key, and item value.

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 POST 'https://api.fastly.com/service//dictionary//item' -H 'Host: api.fastly.com' -H 'Content-Type: application/x-www-form-urlencoded' -H 'Accept: application/json'

ENDPOINTS