Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 889 Bytes

File metadata and controls

26 lines (20 loc) · 889 Bytes

Late::CreateApiKeyRequest

Properties

Name Type Description Notes
name String
expires_in Integer Days until expiry [optional]
scope String 'full' grants access to all profiles (default), 'profiles' restricts to specific profiles [optional][default to 'full']
profile_ids Array<String> Profile IDs this key can access. Required when scope is 'profiles'. [optional]
permission String 'read-write' allows all operations (default), 'read' restricts to GET requests only [optional][default to 'read-write']

Example

require 'late-sdk'

instance = Late::CreateApiKeyRequest.new(
  name: null,
  expires_in: null,
  scope: null,
  profile_ids: null,
  permission: null
)