Skip to main content
PATCH
/
v1
/
custom-assets
/
{custom_asset_id}
Update Custom Asset
curl --request PATCH \
  --url https://api.rivermarkets.com/v1/custom-assets/{custom_asset_id} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "name": "<string>",
  "description": "<string>"
}
'
{
  "custom_asset_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "subaccount_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "inserted_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "description": "<string>"
}

Authorizations

x-api-key
string
header
required

API key for programmatic access. Generate one at app.rivermarkets.com under Settings → API Keys.

Path Parameters

custom_asset_id
string<uuid>
required

Body

application/json

Request schema for updating a custom asset.

name
string | null
Maximum string length: 255
description
string | null

Response

Successful Response

Response schema for a custom asset (list view).

custom_asset_id
string<uuid>
required
subaccount_id
string<uuid>
required
name
string
required
inserted_at
string<date-time>
required

Creation timestamp (UTC)

updated_at
string<date-time>
required

Last update timestamp (UTC)

description
string | null