Skip to main content
GET
/
v1
/
organizations
/
{id}
/
shares
List resource shares for an organization (admin only)
curl --request GET \
  --url http://0.0.0.0:3000/v1/organizations/{id}/shares \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": 123,
    "org_id": "<string>",
    "resource_type": "<string>",
    "resource_id": "<string>",
    "can_view": true,
    "can_control": true,
    "can_edit": true
  }
]

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

Response

List of shares

id
integer
org_id
string
resource_type
string
resource_id
string
can_view
boolean
can_control
boolean
can_edit
boolean