ℹ️ These docs are for the free version of Galileo. Documentation for current customers can be found here.
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>"
}
Update the sharing permissions of a user on a dataset.
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>"
}
Successful Response
The response is of type object
.