curl --request PATCH \
--url http://0.0.0.0:3000/v1/organizations/{id}/shares/{shareId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"can_view": true,
"can_control": true,
"can_edit": false
}
'{
"id": 1,
"can_view": true,
"can_control": true,
"can_edit": false
}curl --request PATCH \
--url http://0.0.0.0:3000/v1/organizations/{id}/shares/{shareId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"can_view": true,
"can_control": true,
"can_edit": false
}
'{
"id": 1,
"can_view": true,
"can_control": true,
"can_edit": false
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
ID da organização
ID numérico do compartilhamento
Share updated