cURL
curl --request POST \ --url https://api.gateway.tech/data-assets/{id}/share \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "addresses": [ "<string>" ] } '
[ { "address": "<string>", "data_asset_id": 123, "roles": [ "<string>" ], "solana_address": "<string>", "created_at": "<string>", "is_authority": true, "updated_at": "<string>" } ]
Share data asset by ID. To share you need to have a sharing role.
Type "Bearer" followed by a space and the JWT token.
Data Asset ID
Share Data Asset Request
OK
Was this page helpful?