PATCH
/
v2
/
datasets
/
{dataset_id}
/
users
/
{user_id}
curl --request PATCH \
  --url https://api.galileo.ai/v2/datasets/{dataset_id}/users/{user_id} \
  --header 'Content-Type: application/json' \
  --header 'Galileo-API-Key: <api-key>' \
  --data '{
  "role": "owner"
}'
{
  "id": "<string>",
  "permissions": [],
  "role": "owner",
  "created_at": "2023-11-07T05:31:56Z",
  "user_id": "<string>",
  "first_name": "<string>",
  "last_name": "<string>",
  "email": "<string>"
}

Authorizations

Galileo-API-Key
string
header
required

Path Parameters

dataset_id
string
required
user_id
string
required

Body

application/json

Response

200
application/json

Successful Response

The response is of type object.