Skip to main content
PATCH
/
v1
/
generic-assets
/
{generic_asset_id}
Update Generic Asset
curl --request PATCH \
  --url https://api.rivermarkets.com/v1/generic-assets/{generic_asset_id} \
  --header 'Content-Type: application/json' \
  --header 'X-River-Key-Id: <api-key>' \
  --header 'X-River-Signature: <api-key>' \
  --header 'X-River-Timestamp: <api-key>' \
  --data '
{
  "name": "<string>",
  "description": "<string>"
}
'
{
  "generic_asset_id": "<string>",
  "name": "<string>",
  "river_ids": [
    123
  ],
  "description": "<string>",
  "category": "<string>",
  "subcategory": "<string>",
  "resolves_at": "2023-11-07T05:31:56Z",
  "owner_subaccount_id": "<string>",
  "status": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.rivermarkets.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-River-Key-Id
string
header
required

UUID of your API key (from Settings → API Keys).

X-River-Timestamp
string
header
required

Current unix seconds. Must be within 30s of server time.

X-River-Signature
string
header
required

Base64 Ed25519 signature over the canonical request: METHOD\nPATH\nSORTED_QUERY\nTIMESTAMP\nSHA256(body) hex. See /api-reference/authentication for the full recipe.

Path Parameters

generic_asset_id
string<uuid>
required

Body

application/json

Request schema for updating a user-owned generic asset.

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

Response

Successful Response

A tradeable generic asset (platform-curated or user-owned) with its member river_ids.

generic_asset_id
string
required
name
string
required
river_ids
integer[]
required
description
string | null
category
string | null
subcategory
string | null
resolves_at
string<date-time> | null
owner_subaccount_id
string | null
status
string | null