> ## 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.

# addManagedTagValues

> Adds tags to a managed tag list and returns them. A key already in the list fails with `ConflictError`. A value that doesn't fit the list's `type`, a key repeated in the request, or a `parentKey` that isn't a key in the parent list fails with `ValidationError`.



**mutation** `addManagedTagValues(input: AddManagedTagValuesInput!): AddManagedTagValuesPayload!`

## Arguments

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

## Returns

`AddManagedTagValuesPayload!`

**`addManagedTagValuesResult`**: `AddManagedTagValuesResult`

---

**`errors`**: `[AddManagedTagValuesError!]`

## Examples

```graphql Mutation
mutation AddManagedTagValues($input: AddManagedTagValuesInput!) {
  addManagedTagValues(input: $input) {
    addManagedTagValuesResult {
      values {
        createdAt
        createdBy
        isLocalized
        key
        lastModified
        lastUpdatedBy
      }
    }
    errors {
      __typename
      ... on GraphQlError {
        code
        details {
          __typename
        }
        message
      }
    }
  }
}
```

```json Variables
{
  "input": {
    "tagId": "id",
    "values": [
      {
        "key": "string",
        "order": 1.5,
        "value": {}
      }
    ]
  }
}
```

```json Response
{
  "data": {
    "addManagedTagValues": {
      "addManagedTagValuesResult": {
        "values": [
          {
            "createdAt": "value",
            "createdBy": "value",
            "isLocalized": true,
            "key": "string",
            "lastModified": "value",
            "lastUpdatedBy": "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.