> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stateset.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Function Parameter

> This endpoint updates a new function parameter

### Body

<ParamField body="id" type="string">
  This is the id of the function parameter. It is used to identify the function parameter.
</ParamField>

<ParamField body="function_id" type="string">
  This is the id of the function. It is used to identify the function.
</ParamField>

<ParamField body="function_parameter_name" type="string">
  This is the name of the function parameter. It is used to identify the function parameter.
</ParamField>

<ParamField body="function_parameter_description" type="string">
  This is the description of the function parameter. It is used to identify the function parameter.
</ParamField>

<ParamField body="activated" type="boolean">
  This is the activated check of the function parameter. It is used to identify the function parameter activation state.
</ParamField>

<ParamField body="created_at" type="string">
  This is the created\_at of the function parameter. It is used to identify the function parameter.
</ParamField>

<ParamField body="updated_at" type="string">
  This is the updated\_at of the function parameter. It is used to identify the function parameter.
</ParamField>

### Response

<ResponseField name="id" type="string">
  This is the id of the function parameter. It is used to identify the function parameter.
</ResponseField>

<ResponseField name="function_id" type="string">
  This is the id of the function. It is used to identify the function.
</ResponseField>

<ResponseField name="function_parameter_name" type="string">
  This is the name of the function parameter. It is used to identify the function parameter.
</ResponseField>

<ResponseField name="function_parameter_description" type="string">
  This is the description of the function parameter. It is used to identify the function parameter.
</ResponseField>

<ResponseField name="activated" type="boolean">
  This is the activated check of the function parameter. It is used to identify the function parameter activation state.
</ResponseField>

<ResponseField name="created_at" type="string">
  This is the created\_at of the function parameter. It is used to identify the function parameter.
</ResponseField>

<ResponseField name="updated_at" type="string">
  This is the updated\_at of the function parameter. It is used to identify the function parameter.
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl --location --request POST 'https://api.stateset.com/v1/function_parameter' \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Token <token>' \
  --data-raw '{
      "id": "2438cf38-4004-41d3-8c90-131735ff7d00",
      "function_id": "2438cf38-4004-41d3-8c90-131735ff7d00",
      "function_parameter_name": "Function 1",
      "function_parameter_description": "This is the function",
      "activated": true,
      "created_at": "2023-11-28T00:00:00.000000Z",
      "updated_at": "2023-11-28T00:00:00.000000Z"
  }'
  ```
</RequestExample>

<ResponseExample>
  ```json Response theme={null}

  {
      "id": "2438cf38-4004-41d3-8c90-131735ff7d00",
      "function_id": "2438cf38-4004-41d3-8c90-131735ff7d00",
      "function_parameter_name": "Function 1",
      "function_parameter_description": "This is the function",
      "activated": true,
      "created_at": "2023-11-28T00:00:00.000000Z",
      "updated_at": "2023-11-28T00:00:00.000000Z"
  }

  ```
</ResponseExample>
