POST
/
data-assets
/
{id}
/
share
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>",
    "created_at": "<string>",
    "data_asset_id": 123,
    "is_authority": true,
    "roles": [
      "<string>"
    ],
    "solana_address": "<string>",
    "updated_at": "<string>"
  }
]

Authorizations

Authorization
string
header
required

Type "Bearer" followed by a space and the JWT token.

Path Parameters

id
integer
required

Data Asset ID

Body

application/json
Share Data Asset Request
addresses
string[]
required

Response

200 - application/json
OK
address
string
required
data_asset_id
integer
required
roles
string[]
required
solana_address
string
required
created_at
string
is_authority
boolean
updated_at
string