> For the complete documentation index, see [llms.txt](https://sdk.venly.io/sdk-reference/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sdk.venly.io/sdk-reference/ts-js-v3/function-references/token/token-metadata/updateerc1155tokenattribute.md).

# 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](/sdk-reference/ts-js-v3/object-references/enum/vychain.md)                                                            | 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](/sdk-reference/ts-js-v3/object-references/token/vyupdateerc1155tokenattributerequest.md) | Request data for the operation                                                             |

**Returns**

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