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

# upsertTenantAppSettings



**mutation** `upsertTenantAppSettings(input: UpsertTenantAppSettingsInput!): UpsertTenantAppSettingsPayload!`

## Arguments

**`input`**: `UpsertTenantAppSettingsInput!` (required)

## Returns

`UpsertTenantAppSettingsPayload!`

**`appSettings`**: `[AppSetting!]`

---

**`errors`**: `[UpsertTenantAppSettingsError!]`

## Examples

```graphql Mutation
mutation UpsertTenantAppSettings($input: UpsertTenantAppSettingsInput!) {
  upsertTenantAppSettings(input: $input) {
    appSettings {
      appKey
      key
      lastModified
      lastUpdatedBy
      value
    }
    errors {
      __typename
      ... on GraphQlError {
        code
        details {
          __typename
        }
        message
      }
    }
  }
}
```

```json Variables
{
  "input": {
    "appKey": "STUDIO",
    "settings": [
      {
        "key": "string",
        "value": "value"
      }
    ]
  }
}
```

```json Response
{
  "data": {
    "upsertTenantAppSettings": {
      "appSettings": [
        {
          "appKey": "STUDIO",
          "key": "string",
          "lastModified": "value",
          "lastUpdatedBy": "value",
          "value": "value"
        }
      ],
      "errors": [
        {
          "__typename": "GraphQlError",
          "code": "string",
          "details": [
            {
              "__typename": "KeyValuePairOfStringAndString"
            }
          ],
          "message": "string"
        }
      ]
    }
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.