# moveAssets

> Mutation in domain **Assets**

- HTML: [moveAssets.html](moveAssets.html)
- Raw SDL: [moveAssets.sdl](moveAssets.sdl)
- Covered by: [llms.txt](../llms.txt)

Move existing `Asset` item(s) to the given `Library`, `Workspace` or `Folder` destination. Only moves within the same `Library`/`Workspace` are supported by this operation. Requires `basic:write` scope to be accessible and `Asset` permission level `EDIT`.

## Returns

`MoveAssets`

## Arguments

- `input`: `MoveAssetsInput!` — `MoveAssets` input argument.

## Example

```graphql
mutation MoveAssets {
  moveAssets(
    input: {
      assetIds: ["…"]
      destinationId: "…"
    }
  ) {
    __typename
    assets {
      __typename
      title
      id
      alternativeText
      author
      createdAt
      description
      attachments {
        name
        filename
        id
        createdAt
        creator { id }
        modifier { id }
      }
      availability {
        from
        to
      }
      comments {
        total
        page
        limit
        hasNextPage
        items { id }
      }
      copyright {
        notice
        status
      }
      creator {
        __typename
        name
        id
      }
      ... on Audio {
        previewUrl
        thumbnailUrl
        filename
        downloadUrl
      }
      ... on Document {
        previewUrl
        thumbnailUrl
        filename
        downloadUrl
      }
      ... on EmbeddedContent {
        previewUrl
        thumbnailUrl
        isDecorative
      }
      ... on File {
        previewUrl
        thumbnailUrl
        filename
        downloadUrl
      }
      ... on Image {
        previewUrl
        thumbnailUrl
        filename
        downloadUrl
      }
      ... on Video {
        previewUrl
        thumbnailUrl
        filename
        bitrate
      }
    }
  }
}
```

Raw: [`moveAssets.example.sdl`](moveAssets.example.sdl)
