Write cache entries

http
POST /projects/{project_reference}/cache/entries/write

Creates or replaces up to 100 cache entries in one transaction: all are written or none. Requires project.cache.write.

Parameters

NameInRequiredDescription
project_referencepathYesProject slug, UUID, or domain that identifies the project.

Request body

FieldTypeRequiredDescription
entriesarrayYes1 to 100 entries with distinct keys. Written in one transaction; any invalid entry rejects the request.

Responses

StatusDescription
200The written entries in request order.
400Bad request
401Unauthorized
403Forbidden
404Not found
413Payload too large
500Server error