---
title: "Changes to Create or update function code"
method: POST
path: "/projects/{id}/functions"
---

# Changes to Create or update function code

`POST /projects/{id}/functions`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 5 of 24 revisions.

- **2026-10-07** `23e7875e7c4c`: 2 warning, 9 info
- **2026-09-19** `3a6f365f3f35`: 9 breaking, 57 info
- **2026-09-04** `c2ec82fb8ce8`: 4 info
- **2026-08-27** `bb44e98aba2e`: 26 breaking, 21 warning
- **2026-07-27** `bb52784e098a`: 6 info

## Changes

- **2026-10-07** `23e7875e7c4c`: 2 warning, 9 info
  - removed the optional property `aws_function_arn` from the response with the `200` status
  - removed the optional property `aws_function_arn` from the response with the `201` status
  - the endpoint scheme security `ProjectAccessToken` was added to the API
  - added the new optional request property `visibility`
  - request property `is_public` deprecated
  - added the non-success response with the status `429`
  - added the non-success response with the status `503`
  - response property `is_public` deprecated
  - response property `is_public` deprecated
  - added the required property `visibility` to the response with the `200` status
  - added the required property `visibility` to the response with the `201` status
- **2026-09-19** `3a6f365f3f35`: 9 breaking, 57 info
  - added the new path request parameter `id`
  - request property `http_auth_mode` was restricted to a list of enum values
  - request property `invocation_mode` was restricted to a list of enum values
  - the response's body type changed from no type to `object` for status `200`
  - the response's body type changed from no type to `object` for status `201`
  - the response's body type changed from no type to `object` for status `400`
  - the response's body type changed from no type to `object` for status `403`
  - the response's body type changed from no type to `object` for status `409`
  - the response's body type changed from no type to `object` for status `500`
  - added the new optional request property `variable_scope`
  - added the new optional request property `variables`
  - the `is_public` request property default value `false` was removed
  - added the new `http` enum value to the request property `invocation_mode`
  - added the new `none` enum value to the request property `http_auth_mode`
  - added the new `rpc` enum value to the request property `invocation_mode`
  - added the new `volcano` enum value to the request property `http_auth_mode`
  - the `http_auth_mode` request property type was generalized from no type to `string`
  - the `invocation_mode` request property type was generalized from no type to `string`
  - added the optional property `aws_function_arn` to the response with the `200` status
  - added the optional property `aws_function_arn` to the response with the `201` status
  - added the optional property `code` to the response with the `400` status
  - added the optional property `code` to the response with the `403` status
  - added the optional property `code` to the response with the `409` status
  - added the optional property `code` to the response with the `500` status
  - added the optional property `current_deployment_id` to the response with the `200` status
  - added the optional property `current_deployment_id` to the response with the `201` status
  - added the optional property `handler` to the response with the `200` status
  - added the optional property `handler` to the response with the `201` status
  - added the optional property `invoke_url` to the response with the `200` status
  - added the optional property `invoke_url` to the response with the `201` status
  - added the optional property `last_invoked_at` to the response with the `200` status
  - added the optional property `last_invoked_at` to the response with the `201` status
  - added the optional property `pending_deployment_id` to the response with the `200` status
  - added the optional property `pending_deployment_id` to the response with the `201` status
  - added the optional property `provisioning_started_at` to the response with the `200` status
  - added the optional property `provisioning_started_at` to the response with the `201` status
  - added the optional property `runtime` to the response with the `200` status
  - added the optional property `runtime` to the response with the `201` status
  - added the required property `created_at` to the response with the `200` status
  - added the required property `created_at` to the response with the `201` status
  - …26 more
- **2026-09-04** `c2ec82fb8ce8`: 4 info
  - added the new optional request property `http_auth_mode`
  - added the new optional request property `invocation_mode`
  - added the new optional request property `is_public`
  - added the new optional request property `openapi_spec`
- **2026-08-27** `bb44e98aba2e`: 26 breaking, 21 warning
  - the response's body type changed from `object` to no type for status `200`
  - the response's body type changed from `object` to no type for status `201`
  - the response's body type changed from `object` to no type for status `400`
  - the response's body type changed from `object` to no type for status `403`
  - the response's body type changed from `object` to no type for status `409`
  - the response's body type changed from `object` to no type for status `500`
  - removed the required property `created_at` from the response with the `200` status
  - removed the required property `created_at` from the response with the `201` status
  - removed the required property `deployed_regions` from the response with the `200` status
  - removed the required property `deployed_regions` from the response with the `201` status
  - removed the required property `error` from the response with the `400` status
  - removed the required property `error` from the response with the `403` status
  - removed the required property `error` from the response with the `409` status
  - removed the required property `error` from the response with the `500` status
  - removed the required property `id` from the response with the `200` status
  - removed the required property `id` from the response with the `201` status
  - removed the required property `is_public` from the response with the `200` status
  - removed the required property `is_public` from the response with the `201` status
  - removed the required property `name` from the response with the `200` status
  - removed the required property `name` from the response with the `201` status
  - removed the required property `project_id` from the response with the `200` status
  - removed the required property `project_id` from the response with the `201` status
  - removed the required property `status` from the response with the `200` status
  - removed the required property `status` from the response with the `201` status
  - removed the required property `updated_at` from the response with the `200` status
  - removed the required property `updated_at` from the response with the `201` status
  - deleted the `path` request parameter `id`
  - removed the optional property `aws_function_arn` from the response with the `200` status
  - removed the optional property `aws_function_arn` from the response with the `201` status
  - removed the optional property `code` from the response with the `400` status
  - removed the optional property `code` from the response with the `403` status
  - removed the optional property `code` from the response with the `409` status
  - removed the optional property `code` from the response with the `500` status
  - removed the optional property `current_deployment_id` from the response with the `200` status
  - removed the optional property `current_deployment_id` from the response with the `201` status
  - removed the optional property `handler` from the response with the `200` status
  - removed the optional property `handler` from the response with the `201` status
  - removed the optional property `invoke_url` from the response with the `200` status
  - removed the optional property `invoke_url` from the response with the `201` status
  - removed the optional property `last_invoked_at` from the response with the `200` status
  - …7 more
- **2026-07-27** `bb52784e098a`: 6 info
  - added the non-success response with the status `409`
  - added the optional property `code` to the response with the `400` status
  - added the optional property `code` to the response with the `403` status
  - added the optional property `code` to the response with the `500` status
  - added the optional property `pending_deployment_id` to the response with the `200` status
  - added the optional property `pending_deployment_id` to the response with the `201` status

---

[Operation](https://skmtc.dev/kong/apis/volcano-api/docs/projects/:id/functions/post.md) - [API](https://skmtc.dev/kong/apis/volcano-api.md) - [Page](https://skmtc.dev/kong/apis/volcano-api/changes/projects/:id/functions/post)
