PATCH
/
data-assets
/
{id}
/
acl
curl --request PATCH \
  --url https://api.gateway.tech/data-assets/{id}/acl \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '[
  {
    "address": "<string>",
    "roles": [
      "view"
    ]
  }
]'
[
  {
    "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 · object[]
Update ACL Items Request
address
string
required
roles
enum<string>[]
required
Available options:
view,
update,
delete,
share

Response

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