Examples

PATCH /foundry-api/v1/asset-classes/13
{
  "data": {
    "id": "13",
    "type": "asset-classes",
    "attributes": {
      "name": "Russia"
    }
  }
}
401
{
  "errors": [
    {
      "title": "You are not authorized to access this request"
    }
  ]
}

Params

Param name Description
id
required

AssetClass ID

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hyphen(-) with no leading or trailing space.

data
required

AssetClass information

Validations:

  • Must be a Hash

data[type]
optional

Validations:

data[attributes]
optional

Validations:

  • Must be a Hash

data[attributes][name]
optional

Validations:

  • Must be a String