Skip to main content
POST
Set the custodian on one asset, dating the custody and optionally saying when it is due back.

Headers

Prefer
enum<string>

Preference

Available options:
params=single-object

Body

Set the custodian on one asset, dating the custody and optionally saying when it is due back.

An account or a name, not both — an account is a name, and a row carrying both is a row where the two can come to disagree. Naming neither clears the custody and both its dates.

p_asset_id
string<uuid>
required
p_custodian_name
string<text>
p_custody_until
string<date>
p_role
string<text>
p_user_id
string<uuid>

Response

200

OK