# addAssetLicense > Mutation in domain **Licenses & copyright** - HTML: [addAssetLicense.html](addAssetLicense.html) - Raw SDL: [addAssetLicense.sdl](addAssetLicense.sdl) - Covered by: [llms.txt](../llms.txt) Add a relation between an existing `Asset` and `License`. Requires `basic:write` scope to be accessible and `Asset` permission level `EDIT`. ## Returns `AddAssetLicense` ## Arguments - `input`: `AddAssetLicenseInput!` — `AddAssetLicense` input argument. ## Example ```graphql mutation AddAssetLicense { addAssetLicense( input: { assetId: "…" licenseId: "…" } ) { __typename asset { __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 } } license { title id addByDefault license requireConsensus } } } ``` Raw: [`addAssetLicense.example.sdl`](addAssetLicense.example.sdl)