---
title: "Update Function"
method: POST
path: "/api/v1/functions/update"
tags: ["Function"]
---

# Update Function

`POST /api/v1/functions/update`

Update updates an existing function's metadata

## Request body

- C1ApiFunctionsV1FunctionsServiceUpdateFunctionRequest — The FunctionsServiceUpdateFunctionRequest message.
  - `function` C1ApiFunctionsV1Function — Function represents a customer-provided code extension in the API
    - `createdAt` string, date-time
    - `deletedAt` string, date-time
    - `description` string — The description field.
    - `displayName` string — The displayName field.
    - `functionType` 'FUNCTION_TYPE_UNSPECIFIED' | 'FUNCTION_TYPE_ANY' — The functionType field.
    - `head` string — The head field.
    - `id` string — The id field.
    - `isDraft` boolean — The isDraft field.
    - `publishedCommitId` string — The publishedCommitId field.
    - `updatedAt` string, date-time
  - `updateMask` string, nullable

## Response `200`

Successful response

- C1ApiFunctionsV1FunctionsServiceUpdateFunctionResponse — The FunctionsServiceUpdateFunctionResponse message.
  - `function` C1ApiFunctionsV1Function — Function represents a customer-provided code extension in the API
    - `createdAt` string, date-time
    - `deletedAt` string, date-time
    - `description` string — The description field.
    - `displayName` string — The displayName field.
    - `functionType` 'FUNCTION_TYPE_UNSPECIFIED' | 'FUNCTION_TYPE_ANY' — The functionType field.
    - `head` string — The head field.
    - `id` string — The id field.
    - `isDraft` boolean — The isDraft field.
    - `publishedCommitId` string — The publishedCommitId field.
    - `updatedAt` string, date-time

## Changes

- **2025-08-20** `182cb087dfa4` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/conductorone/apis/c1-api/changes/api/v1/functions/update/post.md)

---

[API](https://skmtc.dev/conductorone/apis/c1-api.md) · [All operations](https://skmtc.dev/conductorone/apis/c1-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/conductorone/c1-api/revisions/d8ad3d78289e/schema)
