const response = await fetch('/api/v2/assets/{assetID}/relationships/asset_tags', {
method: 'POST',
headers: {
"Content-Type": "application/vnd.api+json"
},
body: JSON.stringify({
"data": [
{
"type": "asset_tags",
"id": "123e4567-e89b-12d3-a456-426614174000"
}
]
}),
});
const data = await response.json();