Skip to main content
PATCH
/
v1
/
organizations
/
{id}
/
shares
/
{shareId}
Update a resource share (admin only)
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
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

ID da organização

shareId
integer
required

ID numérico do compartilhamento

Body

application/json
can_view
boolean
can_control
boolean
can_edit
boolean

Response

Share updated