---
title: "Get Attribute Options"
method: GET
path: "/inventory/v2/schemas/attributes/{attributeId}/values/{valueId}"
tags: ["Inventory"]
---

# Get Attribute Options

`GET /inventory/v2/schemas/attributes/{attributeId}/values/{valueId}`

## Request

- Base URL: `https://customer.my.onetrust.com/api`
- URL: `https://customer.my.onetrust.com/api/inventory/v2/schemas/attributes/{attributeId}/values/{valueId}`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://{$$.env.host}/api/access/v1/oauth/token`

Use this API to support the editing of attribute option names.

### Example Request

`PUT https://{hostname}/api/inventory/v2/api/inventory/v2/schemas/attributes/{attributeId}/values/{valueId}`

`PUT https://trial.onetrust.com/api/inventory/v2/schemas/attributes/bcb8c972-cd10-4c2a-9289-44f8cc78ac03/values/98ec8ebc-90e7-4c3e-869f-cb1b1506222c`

## Path parameters

- `attributeId` string, required
- `valueId` string, required

## Response `200`

- object

## Other responses

- `429`: Too Many Requests For more information, see [API Rate Limits](https://developer.onetrust.com/onetrust/reference/rate-limits-overview).

---

[API](https://skmtc.dev/onetrust/apis/privacy-automation-data-mapping-automation-swagger.md) - [All operations](https://skmtc.dev/onetrust/apis/privacy-automation-data-mapping-automation-swagger/llms.txt) - [OpenAPI document](https://skmtc.dev/onetrust/apis/privacy-automation-data-mapping-automation-swagger/revisions/80794207dfa6?raw)
