Skip to main content
POST
Share a resource with the organization (admin only)

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

Body

application/json
resource_type
enum<string>
required

Tipo do recurso

Available options:
entity,
device,
dashboard,
lock_access_group,
lock_schedule,
lock_appointment,
lock_credential,
lock_visitor
resource_id
string
required

ID do recurso

shared_with_user_id
string | null

ID do usuário (null = todos)

can_view
boolean
default:true
can_control
boolean
default:false
can_edit
boolean
default:false

Response

Share created