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

# updateDestination

> Changes a destination's name, description or tags. Returns the destination.



**mutation** `updateDestination(input: UpdateDestinationInput!): UpdateDestinationPayload!`

## Arguments

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

## Returns

`UpdateDestinationPayload!`

**`destination`**: `Destination`

---

**`errors`**: `[UpdateDestinationError!]`

## Examples

```graphql Mutation
mutation UpdateDestination($input: UpdateDestinationInput!) {
  updateDestination(input: $input) {
    destination {
      compatibilityMode
      createdAt
      createdBy
      defaultLanguage
      description
      displayName
    }
    errors {
      __typename
      ... on GraphQlError {
        code
        details {
          __typename
        }
        message
      }
    }
  }
}
```

```json Variables
{
  "input": {
    "id": "id"
  }
}
```

```json Response
{
  "data": {
    "updateDestination": {
      "destination": {
        "compatibilityMode": "V1",
        "createdAt": "value",
        "createdBy": "value",
        "defaultLanguage": "string",
        "description": "string",
        "displayName": "string"
      },
      "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.