Templates
Update a template function to the latest version
Re-pull a function installed from a template to the template's current version. Refused for a function whose code was edited after install. The path id is the function id.
post/functions/{id}/template-update
Request
- Base URLhttps://api.primitive.dev/v1
- URLhttps://api.primitive.dev/v1/functions/{id}/template-update
- AuthHTTP bearer
Path parameters
idstring uuid required
The function id.
Headers
Idempotency-Keystring
Optional client-supplied idempotency key. Retrying a request with the same key returns the original result instead of performing the action a second time; if omitted the server derives one from the canonical payload hash. Safe to retry network failures without duplicating side effects.
Response
Update a template function to the latest version
Changes
No operation changes recorded.