Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 1.05 KB

File metadata and controls

24 lines (18 loc) · 1.05 KB

Zernio::CreateInviteTokenRequest

Properties

Name Type Description Notes
scope String 'all' grants access to all profiles, 'profiles' restricts to specific profiles
profile_ids Array<String> Required if scope is 'profiles'. Array of profile IDs to grant access to. [optional]
role String Org role granted to the invitee. Defaults to 'member'. 'viewer' creates a read-only member who can view everything in their profile scope but cannot perform any content mutation (publish, edit, delete, connect accounts). [optional][default to 'member']
read_only Boolean Deprecated. Use role 'viewer' instead. When true, the invite is created with role 'viewer'. Cannot be combined with role 'billing_admin'. [optional]

Example

require 'zernio-sdk'

instance = Zernio::CreateInviteTokenRequest.new(
  scope: null,
  profile_ids: null,
  role: null,
  read_only: null
)