> For the complete documentation index, see [llms.txt](https://docs.tnid.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tnid.com/api-reference/002_company/013_forms/004__update_form.md).

# Update Form

GraphQL endpoint: `/company`

Updates form-level settings (title, description, visibility, intended-for). Only the provided arguments are changed; omitted fields keep their values.

## Query

```graphql
mutation (
  $formId: ID!
  $title: String
  $description: String
  $visibility: [FormBuilderFormVisibility!]
  $intendedFor: [FormBuilderFormIntendedFor!]
) {
  updateForm(
    formId: $formId
    title: $title
    description: $description
    visibility: $visibility
    intendedFor: $intendedFor
  ) {
    id
    title
    description
    visibility
    intendedFor
  }
}

```

## Variables

```json
{
  "description": "New Description",
  "formId": "00000000-0000-4000-8000-000000000001",
  "title": "New Title"
}
```

## Response

```json
{
  "data": {
    "updateForm": {
      "description": "New Description",
      "id": "00000000-0000-4000-8000-000000000001",
      "intendedFor": [
        "USER",
        "COMPANY"
      ],
      "title": "New Title",
      "visibility": [
        "PUBLIC"
      ]
    }
  }
}
```
