Skip to content

Create rejected asset metadata suggestions

Request

Record the fact that some asset metadata suggestions have been rejected, and should therefore not be suggested again for the given asset.

Security
bearerToken
Bodyapplication/jsonrequired
itemsArray of objectsrequired
curl -i -X POST \
  https://api-v2.dash.app/rejected-asset-metadata-suggestion-batches \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "items": [
      {
        "batchItemId": "my-item-1",
        "assetId": "7af90a8b-7ccd-430f-a85d-e8614015bc47",
        "fieldId": "a52b5315-15b8-417f-b742-d6902108bac1",
        "value": "1fc6d6c3-c42d-48ue2-b0db-5d680a58ca52"
      }
    ]
  }'

Responses

Success

Bodyapplication/json
successesobjectrequired

A map of successful results keyed on the batchItemId provided in the request

Response
{ "successes": { "property1": {}, "property2": {} } }