# updateErc1155TokenAttribute

### Description

This endpoint is used to update an attribute's data for a specific NFT.

{% code overflow="wrap" %}

```javascript
public updateErc1155TokenAttribute(chain: VyChain, contractAddress: string, tokenId: number, attributeName: string, reqParams: VyUpdateErc1155TokenAttributeRequest) : VyPromise<VyMetadataDto>
```

{% endcode %}

{% tabs %}
{% tab title="Details" %}
**Parameters**

| chain           | [VyChain](https://sdk.venly.io/sdk-reference/ts-js-v3/object-references/enum/vychain)                                                            | The blockchain of the NFT collection                                                       |
| --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ |
| contractAddress | string                                                                                                                                           | The NFT contract address                                                                   |
| tokenId         | number                                                                                                                                           | The \`ID\` of the token you want to update                                                 |
| attributeName   | string                                                                                                                                           | The name of the attribute you want to update (\*\*NOTE\*\*: This param is case sensitive.) |
| reqParams       | [VyUpdateErc1155TokenAttributeRequest](https://sdk.venly.io/sdk-reference/ts-js-v3/object-references/token/vyupdateerc1155tokenattributerequest) | Request data for the operation                                                             |

**Returns**

VyPromise<[VyMetadataDto](https://sdk.venly.io/sdk-reference/ts-js-v3/object-references/token/vymetadatadto)>
{% endtab %}
{% endtabs %}
